Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001138/0.001138, allocations: 109 kB / 17.54 MB, free: 4.746 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.001117/0.001117, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.261/1.261, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 476.7 MB / 0.7628 GB, free: 15.38 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 71.89 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7423, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0365/0.7788, allocations: 36.67 MB / 1.307 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.7976, allocations: 11.93 MB / 1.319 GB, free: 7.777 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.8012, allocations: 163.9 kB / 1.319 GB, free: 7.727 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.8114, allocations: 4.423 MB / 1.323 GB, free: 5.133 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.8168, allocations: 2.088 MB / 1.325 GB, free: 3.852 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.8228, allocations: 2.463 MB / 1.328 GB, free: 2.449 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.8337, allocations: 8.465 MB / 1.336 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009654/0.8434, allocations: 5.862 MB / 1.342 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006087/0.8495, allocations: 3.8 MB / 1.345 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/0.8562, allocations: 4.419 MB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.8577, allocations: 0.7838 MB / 1.351 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/0.8623, allocations: 2.066 MB / 1.353 GB, free: 7.398 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003574/0.8658, allocations: 3.141 MB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004541/0.8704, allocations: 3.394 MB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.8844, allocations: 12.02 MB / 1.371 GB, free: 10.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8844, allocations: 0 / 1.371 GB, free: 10.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8844, allocations: 0 / 1.371 GB, free: 10.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002368/0.8846, allocations: 0 / 1.371 GB, free: 10.24 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01139/0.896, allocations: 5.943 MB / 1.376 GB, free: 6.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8961, allocations: 13.66 kB / 1.377 GB, free: 6.227 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001243/0.8973, allocations: 0.805 MB / 1.377 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005703/0.903, allocations: 1.084 MB / 1.378 GB, free: 5.117 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006671/0.9097, allocations: 3.468 MB / 1.382 GB, free: 2.891 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.91, allocations: 417.8 kB / 1.382 GB, free: 2.699 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.9116, allocations: 0.5433 MB / 1.383 GB, free: 2.508 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.9273, allocations: 9.074 MB / 1.392 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.9274, allocations: 31.77 kB / 1.392 GB, free: 9.492 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/0.928, allocations: 236 kB / 1.392 GB, free: 9.262 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003582/0.9283, allocations: 354.7 kB / 1.392 GB, free: 8.914 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.9396, allocations: 6.822 MB / 1.399 GB, free: 2.082 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04177/0.9814, allocations: 39.86 MB / 1.438 GB, free: 6.516 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.9849, allocations: 2.905 MB / 1.441 GB, free: 3.457 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.9873, allocations: 1.79 MB / 1.442 GB, free: 1.676 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-05/0.9874, allocations: 18 kB / 1.442 GB, free: 1.656 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.9874, allocations: 56.5 kB / 1.442 GB, free: 1.594 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 3.136e-06/0.9874, allocations: 0 / 1.442 GB, free: 1.594 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02295/1.01, allocations: 10 MB / 1.452 GB, free: 7.504 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.01, allocations: 77.34 kB / 1.452 GB, free: 7.414 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.012, allocations: 1.53 MB / 1.454 GB, free: 5.84 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/1.013, allocations: 57.7 kB / 1.454 GB, free: 5.777 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/1.014, allocations: 2.32 MB / 1.456 GB, free: 3.434 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/1.015, allocations: 0.6623 MB / 1.457 GB, free: 2.766 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00061/1.015, allocations: 404.2 kB / 1.457 GB, free: 2.363 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.015, allocations: 305.1 kB / 1.457 GB, free: 2.062 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/1.017, allocations: 1.179 MB / 1.458 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/1.019, allocations: 1.881 MB / 1.46 GB, free: 14.68 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/1.023, allocations: 3.367 MB / 1.464 GB, free: 11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.023, allocations: 8 kB / 1.464 GB, free: 10.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007222/1.03, allocations: 4.539 MB / 1.468 GB, free: 6.426 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.03, allocations: 12 kB / 1.468 GB, free: 6.414 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/1.03, allocations: 24 kB / 1.468 GB, free: 6.391 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/1.034, allocations: 1.585 MB / 1.47 GB, free: 4.797 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.035, allocations: 351.4 kB / 1.47 GB, free: 4.453 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/1.057, allocations: 18.6 MB / 1.488 GB, free: 1.293 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.059, allocations: 115.9 kB / 1.488 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.059, allocations: 99.94 kB / 1.488 GB, free: 1.082 MB / 1.17 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002909/1.062, allocations: 1.899 MB / 1.49 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/1.063, allocations: 234.5 kB / 1.49 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00663/1.069, allocations: 4.036 MB / 1.494 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/1.069, allocations: 27.98 kB / 1.494 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.069, allocations: 16 kB / 1.494 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.069, allocations: 11.91 kB / 1.494 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.083, allocations: 9.415 MB / 1.504 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.083, allocations: 4 kB / 1.504 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/1.083, allocations: 183.7 kB / 1.504 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/1.087, allocations: 1.354 MB / 1.505 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.887e-05/1.087, allocations: 39.94 kB / 1.505 GB, free: 15.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/1.108, allocations: 17.37 MB / 1.522 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.108, allocations: 4 kB / 1.522 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006508/1.114, allocations: 4.048 MB / 1.526 GB, free: 9.5 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009703/1.115, allocations: 0.5346 MB / 1.527 GB, free: 8.945 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/1.115, allocations: 36 kB / 1.527 GB, free: 8.91 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/1.116, allocations: 87.89 kB / 1.527 GB, free: 8.824 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003836/1.117, allocations: 158.2 kB / 1.527 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.117, allocations: 52 kB / 1.527 GB, free: 8.617 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001262/1.118, allocations: 1.005 MB / 1.528 GB, free: 7.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.118, allocations: 0 / 1.528 GB, free: 7.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002769/1.121, allocations: 0.9844 MB / 1.529 GB, free: 6.605 MB / 1.217 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006463/1.127, allocations: 4.633 MB / 1.533 GB, free: 1.875 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006408/1.134, allocations: 4.178 MB / 1.537 GB, free: 13.65 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.134, allocations: 0 / 1.537 GB, free: 13.65 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/1.138, allocations: 2.569 MB / 1.54 GB, free: 11.03 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.141, allocations: 0.786 MB / 1.541 GB, free: 10.28 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03854/1.179, allocations: 27.02 MB / 1.567 GB, free: 14.17 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003896/1.183, allocations: 3.569 MB / 1.571 GB, free: 10.57 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001186/1.184, allocations: 471.9 kB / 1.571 GB, free: 10.11 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.186, allocations: 1.784 MB / 1.573 GB, free: 8.32 MB / 1.264 GB Notification: Performance of SimCode: time 8.31e-07/1.186, allocations: 0 / 1.573 GB, free: 8.32 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.315, allocations: 74.84 MB / 1.646 GB, free: 14.11 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.21, allocations: 2.234 kB / 1.646 GB, free: 14.11 MB / 1.342 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 18.596328121000624]