Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001793/0.001793, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002382/0.002382, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.086/3.086, allocations: 0.5003 GB / 0.8062 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",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.002007/0.002007, allocations: 61.73 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.367, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03392/0.401, allocations: 27.95 MB / 1.373 GB, free: 4.434 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.4162, allocations: 8.387 MB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.4192, allocations: 150.9 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.008011/0.4272, allocations: 2.877 MB / 1.384 GB, free: 8.988 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005619/0.4328, allocations: 1.671 MB / 1.385 GB, free: 7.309 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.4379, allocations: 1.735 MB / 1.387 GB, free: 5.574 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008682/0.4465, allocations: 6.135 MB / 1.393 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006057/0.4526, allocations: 3.785 MB / 1.397 GB, free: 11.54 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005105/0.4577, allocations: 2.652 MB / 1.399 GB, free: 8.883 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005498/0.4632, allocations: 3.002 MB / 1.402 GB, free: 5.871 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.4646, allocations: 0.5078 MB / 1.403 GB, free: 5.363 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.4685, allocations: 1.303 MB / 1.404 GB, free: 4.059 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/0.4713, allocations: 2.104 MB / 1.406 GB, free: 1.949 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.4752, allocations: 2.381 MB / 1.408 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.4858, allocations: 8.079 MB / 1.416 GB, free: 7.453 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4858, allocations: 0 / 1.416 GB, free: 7.453 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.073e-06/0.4858, allocations: 4 kB / 1.416 GB, free: 7.449 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002432/0.486, allocations: 0 / 1.416 GB, free: 7.449 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0107/0.4967, allocations: 4.26 MB / 1.421 GB, free: 3.137 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4968, allocations: 12.03 kB / 1.421 GB, free: 3.125 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001242/0.4969, allocations: 95.48 kB / 1.421 GB, free: 3.031 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.498, allocations: 0.546 MB / 1.421 GB, free: 2.477 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.5025, allocations: 0.8141 MB / 1.422 GB, free: 1.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.5086, allocations: 2.53 MB / 1.424 GB, free: 15.06 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.5088, allocations: 275.6 kB / 1.425 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.5099, allocations: 376.2 kB / 1.425 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.5225, allocations: 5.992 MB / 1.431 GB, free: 8.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.5226, allocations: 23.83 kB / 1.431 GB, free: 8.156 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00048/0.5231, allocations: 156 kB / 1.431 GB, free: 8.004 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006174/0.5237, allocations: 278.9 kB / 1.431 GB, free: 7.73 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008555/0.5323, allocations: 4.524 MB / 1.436 GB, free: 3.199 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03674/0.569, allocations: 27.24 MB / 1.462 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.5709, allocations: 1.053 MB / 1.463 GB, free: 4.383 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.5725, allocations: 0.9648 MB / 1.464 GB, free: 3.418 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.5726, allocations: 17 kB / 1.464 GB, free: 3.402 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.5726, allocations: 43.56 kB / 1.464 GB, free: 3.352 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 3.126e-06/0.5726, allocations: 4 kB / 1.464 GB, free: 3.348 MB / 1.154 GB Notification: Performance of matching and sorting (n=131): time 0.02289/0.5955, allocations: 9.093 MB / 1.473 GB, free: 10.2 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.5956, allocations: 72.66 kB / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.598, allocations: 1.494 MB / 1.475 GB, free: 8.621 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.5982, allocations: 53.64 kB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.5995, allocations: 1.715 MB / 1.477 GB, free: 6.828 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.6001, allocations: 0.4919 MB / 1.477 GB, free: 6.332 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006842/0.6008, allocations: 327.4 kB / 1.477 GB, free: 6.008 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6009, allocations: 305.1 kB / 1.478 GB, free: 5.707 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.6024, allocations: 0.9135 MB / 1.478 GB, free: 4.793 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.6044, allocations: 1.471 MB / 1.48 GB, free: 3.082 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/0.608, allocations: 2.538 MB / 1.482 GB, free: 312 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.608, allocations: 12 kB / 1.482 GB, free: 300 kB / 1.17 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006613/0.6146, allocations: 3.271 MB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.6147, allocations: 13.25 kB / 1.486 GB, free: 12.97 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.6147, allocations: 20 kB / 1.486 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/0.6171, allocations: 0.7377 MB / 1.486 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.6188, allocations: 383.3 kB / 1.487 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.6367, allocations: 16.13 MB / 1.502 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.6387, allocations: 104 kB / 1.503 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.639, allocations: 83.97 kB / 1.503 GB, free: 10.47 MB / 1.201 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002613/0.6416, allocations: 1.305 MB / 1.504 GB, free: 9.152 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005802/0.6422, allocations: 218.7 kB / 1.504 GB, free: 8.938 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/0.6478, allocations: 2.765 MB / 1.507 GB, free: 6.129 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.6478, allocations: 12 kB / 1.507 GB, free: 6.117 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/0.6478, allocations: 8 kB / 1.507 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.6478, allocations: 7.922 kB / 1.507 GB, free: 6.102 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.6601, allocations: 6.173 MB / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.6602, allocations: 8.125 kB / 1.513 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.6614, allocations: 227.6 kB / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.6634, allocations: 0.6749 MB / 1.514 GB, free: 14.83 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.6636, allocations: 32 kB / 1.514 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.6802, allocations: 15.88 MB / 1.529 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.6802, allocations: 11.94 kB / 1.529 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006956/0.6872, allocations: 3.998 MB / 1.533 GB, free: 9.773 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.6884, allocations: 382.6 kB / 1.534 GB, free: 9.398 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/0.6889, allocations: 39.94 kB / 1.534 GB, free: 9.359 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6902, allocations: 83.89 kB / 1.534 GB, free: 9.277 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/0.6906, allocations: 120.8 kB / 1.534 GB, free: 9.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6907, allocations: 43.98 kB / 1.534 GB, free: 9.117 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001912/0.6926, allocations: 0.9942 MB / 1.535 GB, free: 8.133 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6926, allocations: 0 / 1.535 GB, free: 8.133 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002936/0.6955, allocations: 0.6836 MB / 1.536 GB, free: 7.449 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007176/0.7027, allocations: 4.596 MB / 1.54 GB, free: 2.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005741/0.7085, allocations: 3.378 MB / 1.543 GB, free: 15.23 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.7085, allocations: 0 / 1.543 GB, free: 15.23 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/0.7119, allocations: 2.241 MB / 1.545 GB, free: 12.88 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/0.7156, allocations: 0.6774 MB / 1.546 GB, free: 12.22 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/0.7558, allocations: 21.32 MB / 1.567 GB, free: 6.031 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/0.7599, allocations: 2.664 MB / 1.57 GB, free: 3.336 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001642/0.7615, allocations: 485.4 kB / 1.57 GB, free: 2.859 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/0.7634, allocations: 1.28 MB / 1.571 GB, free: 1.578 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/0.7634, allocations: 0 / 1.571 GB, free: 1.578 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7917/1.555, allocations: 59.13 MB / 1.629 GB, free: 241.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.64, allocations: 7.031 kB / 1.629 GB, free: 241.2 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 24.26710145303514]