Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004224/0.004224, allocations: 103.7 kB / 15.74 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 196.5 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 482.4 MB / 0.7548 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003217/0.003217, allocations: 59.91 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3196, allocations: 162.2 MB / 1.241 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.6013/0.9209, allocations: 35.1 MB / 1.276 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.9385, allocations: 9.958 MB / 1.285 GB, free: 6.062 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/0.942, allocations: 146.4 kB / 1.286 GB, free: 6.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.9527, allocations: 3.796 MB / 1.289 GB, free: 3.723 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.9604, allocations: 2.035 MB / 1.291 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.9665, allocations: 1.964 MB / 1.293 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.9774, allocations: 7.982 MB / 1.301 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.9891, allocations: 9.529 MB / 1.31 GB, free: 9.863 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006183/0.9953, allocations: 3.371 MB / 1.314 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006405/1.002, allocations: 3.741 MB / 1.317 GB, free: 6.668 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001281/1.003, allocations: 0.6783 MB / 1.318 GB, free: 6.668 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/1.007, allocations: 1.442 MB / 1.319 GB, free: 6.375 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00329/1.01, allocations: 2.614 MB / 1.322 GB, free: 5.273 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005309/1.015, allocations: 3.106 MB / 1.325 GB, free: 3.281 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/1.03, allocations: 10.4 MB / 1.335 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.03, allocations: 0 / 1.335 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/1.03, allocations: 0 / 1.335 GB, free: 14.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003308/1.03, allocations: 1.062 kB / 1.335 GB, free: 14.39 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01628/1.047, allocations: 5.541 MB / 1.341 GB, free: 10.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.047, allocations: 9.188 kB / 1.341 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/1.048, allocations: 0.7045 MB / 1.341 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004924/1.053, allocations: 0.9883 MB / 1.342 GB, free: 9.684 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/1.059, allocations: 3.192 MB / 1.345 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/1.059, allocations: 357.2 kB / 1.346 GB, free: 7.434 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/1.06, allocations: 477.3 kB / 1.346 GB, free: 7.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/1.073, allocations: 7.904 MB / 1.354 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.073, allocations: 16.12 kB / 1.354 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008061/1.074, allocations: 206.8 kB / 1.354 GB, free: 2.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007469/1.075, allocations: 369.6 kB / 1.354 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/1.092, allocations: 5.946 MB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04436/1.136, allocations: 36.01 MB / 1.395 GB, free: 7.652 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/1.14, allocations: 2.135 MB / 1.397 GB, free: 5.504 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/1.142, allocations: 1.478 MB / 1.399 GB, free: 4.031 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.324e-05/1.142, allocations: 17.31 kB / 1.399 GB, free: 4.016 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/1.142, allocations: 55.81 kB / 1.399 GB, free: 3.953 MB / 1.092 GB Notification: Performance of pre-optimization done (n=157): time 3.357e-06/1.142, allocations: 0 / 1.399 GB, free: 3.953 MB / 1.092 GB Notification: Performance of matching and sorting (n=160): time 0.01415/1.156, allocations: 7.598 MB / 1.406 GB, free: 12.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.156, allocations: 68.72 kB / 1.406 GB, free: 12.01 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.159, allocations: 1.872 MB / 1.408 GB, free: 10.11 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/1.159, allocations: 57.7 kB / 1.408 GB, free: 10.05 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/1.16, allocations: 2.181 MB / 1.41 GB, free: 7.848 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/1.161, allocations: 0.5926 MB / 1.411 GB, free: 7.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006495/1.161, allocations: 404 kB / 1.411 GB, free: 6.848 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.162, allocations: 301.1 kB / 1.412 GB, free: 6.551 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/1.163, allocations: 1.062 MB / 1.413 GB, free: 5.484 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/1.165, allocations: 1.768 MB / 1.414 GB, free: 3.395 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/1.169, allocations: 3.045 MB / 1.417 GB, free: 36 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.169, allocations: 11.94 kB / 1.417 GB, free: 24 kB / 1.107 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006465/1.176, allocations: 3.93 MB / 1.421 GB, free: 12.05 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.176, allocations: 12 kB / 1.421 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/1.176, allocations: 24.09 kB / 1.421 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/1.178, allocations: 0.9428 MB / 1.422 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.18, allocations: 423.3 kB / 1.423 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/1.202, allocations: 22.78 MB / 1.445 GB, free: 2.156 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.204, allocations: 119.9 kB / 1.445 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/1.205, allocations: 103.9 kB / 1.445 GB, free: 1.938 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002938/1.208, allocations: 1.645 MB / 1.447 GB, free: 288 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/1.208, allocations: 266.4 kB / 1.447 GB, free: 20 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/1.214, allocations: 3.267 MB / 1.45 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.214, allocations: 16 kB / 1.45 GB, free: 12.69 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.214, allocations: 8 kB / 1.45 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.214, allocations: 7.969 kB / 1.45 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.226, allocations: 7.56 MB / 1.458 GB, free: 4.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.226, allocations: 4 kB / 1.458 GB, free: 4.953 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009549/1.227, allocations: 215.6 kB / 1.458 GB, free: 4.742 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/1.23, allocations: 0.8926 MB / 1.459 GB, free: 3.812 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.23, allocations: 28 kB / 1.459 GB, free: 3.785 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.252, allocations: 22.75 MB / 1.481 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.252, allocations: 4 kB / 1.481 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005825/1.258, allocations: 3.388 MB / 1.484 GB, free: 7.848 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.259, allocations: 0.5383 MB / 1.485 GB, free: 7.289 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/1.26, allocations: 39.94 kB / 1.485 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.261, allocations: 95.88 kB / 1.485 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.261, allocations: 137.2 kB / 1.485 GB, free: 7.023 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.261, allocations: 47.98 kB / 1.485 GB, free: 6.977 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001742/1.263, allocations: 1.229 MB / 1.486 GB, free: 5.734 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.7e-07/1.263, allocations: 0 / 1.486 GB, free: 5.734 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002684/1.266, allocations: 0.9023 MB / 1.487 GB, free: 4.832 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005794/1.271, allocations: 4.009 MB / 1.491 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0067/1.278, allocations: 4.428 MB / 1.495 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.278, allocations: 5 kB / 1.495 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004293/1.283, allocations: 3.003 MB / 1.498 GB, free: 8.961 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/1.286, allocations: 0.8232 MB / 1.499 GB, free: 8.152 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04119/1.327, allocations: 25.19 MB / 1.524 GB, free: 13.85 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00448/1.332, allocations: 3.213 MB / 1.527 GB, free: 10.61 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001795/1.334, allocations: 0.5254 MB / 1.527 GB, free: 10.08 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/1.336, allocations: 1.655 MB / 1.529 GB, free: 8.422 MB / 1.232 GB Notification: Performance of SimCode: time 1.072e-06/1.336, allocations: 0 / 1.529 GB, free: 8.422 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/1.482, allocations: 70.25 MB / 1.598 GB, free: 3.02 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.51, allocations: 0 / 1.598 GB, free: 3.02 MB / 1.295 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches