Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 106.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] 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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 66.42 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3022, allocations: 173.9 MB / 1.304 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04515/0.3473, allocations: 38.57 MB / 1.342 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.367, allocations: 11.12 MB / 1.353 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.3703, allocations: 159.2 kB / 1.353 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.3818, allocations: 4.429 MB / 1.357 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.3885, allocations: 2.336 MB / 1.359 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.3942, allocations: 2.174 MB / 1.361 GB, free: 6.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.4059, allocations: 9.28 MB / 1.37 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01356/0.4194, allocations: 8.538 MB / 1.379 GB, free: 4.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006806/0.4262, allocations: 4.047 MB / 1.383 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007899/0.4341, allocations: 4.751 MB / 1.387 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002612/0.4367, allocations: 0.8242 MB / 1.388 GB, free: 10.94 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005188/0.4419, allocations: 1.615 MB / 1.39 GB, free: 9.324 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0055/0.4474, allocations: 3.231 MB / 1.393 GB, free: 6.086 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00761/0.455, allocations: 3.653 MB / 1.396 GB, free: 2.418 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01586/0.4709, allocations: 12.35 MB / 1.409 GB, free: 6.031 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4709, allocations: 0 / 1.409 GB, free: 6.031 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4709, allocations: 0 / 1.409 GB, free: 6.031 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003632/0.4713, allocations: 0 / 1.409 GB, free: 6.031 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01685/0.4881, allocations: 6.474 MB / 1.415 GB, free: 15.48 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4882, allocations: 12.86 kB / 1.415 GB, free: 15.46 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002256/0.4904, allocations: 0.8333 MB / 1.416 GB, free: 14.62 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.4966, allocations: 1.094 MB / 1.417 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009188/0.5058, allocations: 3.628 MB / 1.42 GB, free: 9.844 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/0.5062, allocations: 423.8 kB / 1.421 GB, free: 9.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002127/0.5083, allocations: 0.5393 MB / 1.421 GB, free: 8.891 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.5292, allocations: 9.385 MB / 1.43 GB, free: 15.17 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.5294, allocations: 19.81 kB / 1.43 GB, free: 15.15 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/0.531, allocations: 244 kB / 1.431 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007633/0.5317, allocations: 418.9 kB / 1.431 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.5469, allocations: 7.127 MB / 1.438 GB, free: 7.363 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05016/0.5971, allocations: 41.06 MB / 1.478 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.6019, allocations: 2.912 MB / 1.481 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/0.6049, allocations: 1.953 MB / 1.483 GB, free: 5.688 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.605, allocations: 22 kB / 1.483 GB, free: 5.664 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/0.6051, allocations: 56.56 kB / 1.483 GB, free: 5.602 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 3.877e-06/0.6051, allocations: 0 / 1.483 GB, free: 5.602 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02442/0.6295, allocations: 10.58 MB / 1.493 GB, free: 10.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.6295, allocations: 73.41 kB / 1.493 GB, free: 10.84 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.6324, allocations: 2.002 MB / 1.495 GB, free: 8.824 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.6327, allocations: 65.7 kB / 1.495 GB, free: 8.754 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.6345, allocations: 2.478 MB / 1.498 GB, free: 6.25 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008847/0.6354, allocations: 0.7708 MB / 1.499 GB, free: 5.473 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007662/0.6361, allocations: 473.5 kB / 1.499 GB, free: 5.004 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6363, allocations: 305.1 kB / 1.499 GB, free: 4.703 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.6383, allocations: 1.376 MB / 1.501 GB, free: 3.324 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/0.641, allocations: 2.112 MB / 1.503 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/0.6461, allocations: 3.766 MB / 1.506 GB, free: 12.82 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.6462, allocations: 4 kB / 1.506 GB, free: 12.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008443/0.6546, allocations: 5.038 MB / 1.511 GB, free: 7.758 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.6546, allocations: 12 kB / 1.511 GB, free: 7.746 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.6547, allocations: 24 kB / 1.511 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003549/0.6582, allocations: 1.59 MB / 1.513 GB, free: 6.125 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.66, allocations: 455.2 kB / 1.513 GB, free: 5.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/0.6838, allocations: 18.59 MB / 1.531 GB, free: 2.523 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.686, allocations: 143.9 kB / 1.532 GB, free: 2.383 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.6863, allocations: 108 kB / 1.532 GB, free: 2.277 MB / 1.232 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003198/0.6895, allocations: 1.937 MB / 1.534 GB, free: 336 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/0.6901, allocations: 302.2 kB / 1.534 GB, free: 32 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/0.6975, allocations: 4.404 MB / 1.538 GB, free: 11.6 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.6976, allocations: 24 kB / 1.538 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/0.6976, allocations: 16 kB / 1.538 GB, free: 11.56 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.6976, allocations: 15.89 kB / 1.538 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.7156, allocations: 9.61 MB / 1.548 GB, free: 1.789 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.7156, allocations: 4.062 kB / 1.548 GB, free: 1.785 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7167, allocations: 235.6 kB / 1.548 GB, free: 1.555 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.7202, allocations: 1.419 MB / 1.549 GB, free: 128 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.7204, allocations: 40 kB / 1.549 GB, free: 88 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0243/0.7447, allocations: 18.59 MB / 1.567 GB, free: 12.93 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.7447, allocations: 7.938 kB / 1.567 GB, free: 12.92 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00778/0.7525, allocations: 4.503 MB / 1.572 GB, free: 8.332 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/0.7545, allocations: 0.6513 MB / 1.572 GB, free: 7.66 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006672/0.7552, allocations: 40 kB / 1.573 GB, free: 7.621 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.7568, allocations: 115.9 kB / 1.573 GB, free: 7.508 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/0.7574, allocations: 177.6 kB / 1.573 GB, free: 7.336 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.7575, allocations: 60 kB / 1.573 GB, free: 7.277 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002097/0.7596, allocations: 1.323 MB / 1.574 GB, free: 5.945 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7596, allocations: 0 / 1.574 GB, free: 5.945 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003425/0.7631, allocations: 1.141 MB / 1.575 GB, free: 4.805 MB / 1.279 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007477/0.7705, allocations: 5.123 MB / 1.58 GB, free: 15.58 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007537/0.7781, allocations: 4.536 MB / 1.585 GB, free: 11 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.7781, allocations: 4 kB / 1.585 GB, free: 11 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/0.7829, allocations: 2.813 MB / 1.587 GB, free: 8.133 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/0.7868, allocations: 0.8865 MB / 1.588 GB, free: 7.258 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6602/1.447, allocations: 30.42 MB / 1.618 GB, free: 282.5 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005919/1.453, allocations: 3.692 MB / 1.622 GB, free: 281.7 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001899/1.455, allocations: 0.5535 MB / 1.622 GB, free: 281.6 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.457, allocations: 1.954 MB / 1.624 GB, free: 280.8 MB / 1.311 GB Notification: Performance of SimCode: time 1.002e-06/1.457, allocations: 0 / 1.624 GB, free: 280.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/1.584, allocations: 85.85 MB / 1.708 GB, free: 218.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.51, allocations: 10.5 kB / 1.708 GB, free: 218.3 MB / 1.311 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.500896879006177]