Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.101/3.101, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 72.72 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02879/0.3548, allocations: 22.25 MB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.3669, allocations: 6.45 MB / 1.353 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.3689, allocations: 127.1 kB / 1.353 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.3729, allocations: 1.506 MB / 1.355 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.3773, allocations: 1.937 MB / 1.357 GB, free: 2.008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.381, allocations: 1.472 MB / 1.358 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008687/0.3897, allocations: 6.909 MB / 1.365 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007312/0.397, allocations: 3.715 MB / 1.368 GB, free: 5.793 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.4027, allocations: 2.948 MB / 1.371 GB, free: 2.836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007405/0.4101, allocations: 3.548 MB / 1.375 GB, free: 15.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.4117, allocations: 0.5273 MB / 1.375 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.4149, allocations: 1.12 MB / 1.376 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003579/0.4185, allocations: 2.525 MB / 1.379 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003283/0.4217, allocations: 2.058 MB / 1.381 GB, free: 9.031 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009548/0.4313, allocations: 8.582 MB / 1.389 GB, free: 432 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4313, allocations: 3.938 kB / 1.389 GB, free: 428 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4313, allocations: 0 / 1.389 GB, free: 428 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000194/0.4315, allocations: 3.938 kB / 1.389 GB, free: 424 kB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008799/0.4403, allocations: 4.479 MB / 1.394 GB, free: 11.88 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4403, allocations: 8.031 kB / 1.394 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008902/0.4412, allocations: 0.5714 MB / 1.394 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008449/0.4497, allocations: 1.699 MB / 1.396 GB, free: 9.586 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007161/0.4568, allocations: 2.672 MB / 1.398 GB, free: 6.871 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.4571, allocations: 275.7 kB / 1.399 GB, free: 6.602 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009007/0.458, allocations: 364.3 kB / 1.399 GB, free: 6.246 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.472, allocations: 7.716 MB / 1.407 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.4721, allocations: 15.88 kB / 1.407 GB, free: 14.19 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006943/0.4728, allocations: 159.9 kB / 1.407 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007091/0.4735, allocations: 487.3 kB / 1.407 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.4847, allocations: 5.697 MB / 1.413 GB, free: 7.855 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03545/0.5202, allocations: 20.54 MB / 1.433 GB, free: 2.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.5234, allocations: 2.015 MB / 1.435 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.5268, allocations: 2.112 MB / 1.437 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.527, allocations: 17.31 kB / 1.437 GB, free: 14.69 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.527, allocations: 47.88 kB / 1.437 GB, free: 14.63 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 3.847e-06/0.527, allocations: 0 / 1.437 GB, free: 14.63 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3244/0.8515, allocations: 76.71 MB / 1.512 GB, free: 1.793 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.8516, allocations: 77.41 kB / 1.512 GB, free: 1.703 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.8548, allocations: 1.705 MB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004798/0.8553, allocations: 65.7 kB / 1.514 GB, free: 15.88 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.8568, allocations: 1.796 MB / 1.515 GB, free: 14.07 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.858, allocations: 0.8868 MB / 1.516 GB, free: 13.17 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.8593, allocations: 493.3 kB / 1.517 GB, free: 12.68 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8594, allocations: 305.1 kB / 1.517 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/0.8638, allocations: 2.73 MB / 1.52 GB, free: 9.648 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004932/0.8687, allocations: 3.336 MB / 1.523 GB, free: 6.062 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009774/0.8785, allocations: 6.393 MB / 1.529 GB, free: 15.43 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.8785, allocations: 4 kB / 1.529 GB, free: 15.42 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03544/0.914, allocations: 14.41 MB / 1.543 GB, free: 0.9688 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.914, allocations: 12.19 kB / 1.543 GB, free: 0.957 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/0.914, allocations: 23.94 kB / 1.543 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03151/0.9456, allocations: 9.196 MB / 1.552 GB, free: 7.711 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.9469, allocations: 299.5 kB / 1.553 GB, free: 7.418 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0911/1.038, allocations: 51.04 MB / 1.602 GB, free: 3.645 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.041, allocations: 223.7 kB / 1.603 GB, free: 3.426 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005269/1.042, allocations: 96 kB / 1.603 GB, free: 3.332 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003071/1.045, allocations: 1.586 MB / 1.604 GB, free: 1.734 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007814/1.046, allocations: 258.6 kB / 1.605 GB, free: 1.48 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6056/1.651, allocations: 14.47 MB / 1.619 GB, free: 259.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/1.651, allocations: 24.41 kB / 1.619 GB, free: 259.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002556/1.651, allocations: 44.62 kB / 1.619 GB, free: 259.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/1.652, allocations: 11.91 kB / 1.619 GB, free: 259.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03951/1.691, allocations: 19.53 MB / 1.638 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/1.691, allocations: 7.219 kB / 1.638 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/1.692, allocations: 164.5 kB / 1.638 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02566/1.717, allocations: 8.975 MB / 1.647 GB, free: 250.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003674/1.718, allocations: 51.59 kB / 1.647 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06462/1.782, allocations: 50.6 MB / 1.696 GB, free: 204 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.782, allocations: 14.52 kB / 1.696 GB, free: 204 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02701/1.809, allocations: 14.09 MB / 1.71 GB, free: 189.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/1.812, allocations: 0.7866 MB / 1.711 GB, free: 189 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/1.812, allocations: 48 kB / 1.711 GB, free: 189 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.814, allocations: 207.7 kB / 1.711 GB, free: 188.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/1.816, allocations: 249.4 kB / 1.711 GB, free: 188.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.816, allocations: 64 kB / 1.711 GB, free: 188.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001263/1.817, allocations: 1.129 MB / 1.712 GB, free: 187.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.817, allocations: 3.938 kB / 1.712 GB, free: 187.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003872/1.821, allocations: 1.609 MB / 1.714 GB, free: 185.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02735/1.848, allocations: 14.72 MB / 1.728 GB, free: 170.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01961/1.868, allocations: 10.21 MB / 1.738 GB, free: 160.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.868, allocations: 0 / 1.738 GB, free: 160.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01542/1.883, allocations: 7.011 MB / 1.745 GB, free: 153.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.886, allocations: 0.5692 MB / 1.746 GB, free: 153 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08071/1.967, allocations: 50.5 MB / 1.795 GB, free: 101.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/1.969, allocations: 2.677 MB / 1.798 GB, free: 98.73 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009859/1.97, allocations: 387.3 kB / 1.798 GB, free: 98.35 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.972, allocations: 1.468 MB / 1.799 GB, free: 96.88 MB / 1.295 GB Notification: Performance of SimCode: time 1.403e-06/1.972, allocations: 0 / 1.799 GB, free: 96.88 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1824/2.154, allocations: 129.3 MB / 1.926 GB, free: 324 kB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.86, allocations: 0 / 1.926 GB, free: 324 kB / 1.326 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.957860437221825]