Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001492/0.001492, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001447/0.001447, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.023/3.023, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.003023/0.003023, allocations: 76.23 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3588, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02567/0.3845, allocations: 19.5 MB / 1.346 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.3965, allocations: 6.469 MB / 1.352 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.3982, allocations: 111.2 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005957/0.4042, allocations: 2.243 MB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.4079, allocations: 1.232 MB / 1.355 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.4115, allocations: 1.294 MB / 1.357 GB, free: 2.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006241/0.4177, allocations: 4.847 MB / 1.361 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005546/0.4233, allocations: 3.178 MB / 1.365 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.4268, allocations: 2.158 MB / 1.367 GB, free: 8.238 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.4312, allocations: 2.481 MB / 1.369 GB, free: 5.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.4324, allocations: 432 kB / 1.37 GB, free: 5.328 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.435, allocations: 0.9479 MB / 1.37 GB, free: 4.379 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.4375, allocations: 1.707 MB / 1.372 GB, free: 2.668 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003161/0.4407, allocations: 1.549 MB / 1.374 GB, free: 1.113 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008017/0.4487, allocations: 6.573 MB / 1.38 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4487, allocations: 4 kB / 1.38 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4487, allocations: 0 / 1.38 GB, free: 10.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001493/0.4488, allocations: 0 / 1.38 GB, free: 10.52 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007338/0.4562, allocations: 3.464 MB / 1.383 GB, free: 7.004 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4562, allocations: 12.03 kB / 1.383 GB, free: 6.992 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.939e-05/0.4563, allocations: 78.16 kB / 1.384 GB, free: 6.914 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006593/0.457, allocations: 466.5 kB / 1.384 GB, free: 6.445 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.4605, allocations: 0.6506 MB / 1.385 GB, free: 5.793 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003986/0.4644, allocations: 1.997 MB / 1.387 GB, free: 3.742 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.4646, allocations: 222.3 kB / 1.387 GB, free: 3.523 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005043/0.4651, allocations: 299.9 kB / 1.387 GB, free: 3.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/0.4738, allocations: 5.238 MB / 1.392 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.347e-05/0.4739, allocations: 11.88 kB / 1.392 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.4742, allocations: 128 kB / 1.392 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004376/0.4746, allocations: 229.7 kB / 1.393 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006381/0.481, allocations: 3.75 MB / 1.396 GB, free: 9.582 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.5009, allocations: 13.57 MB / 1.409 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.5028, allocations: 1.232 MB / 1.411 GB, free: 10.42 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.5042, allocations: 0.9875 MB / 1.412 GB, free: 9.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.685e-05/0.5042, allocations: 13 kB / 1.412 GB, free: 9.418 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.5043, allocations: 47.5 kB / 1.412 GB, free: 9.363 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.116e-06/0.5043, allocations: 0 / 1.412 GB, free: 9.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02404/0.5283, allocations: 8.436 MB / 1.42 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.5284, allocations: 68.72 kB / 1.42 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5299, allocations: 1.13 MB / 1.421 GB, free: 15.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.5301, allocations: 53.64 kB / 1.421 GB, free: 15.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.5311, allocations: 1.339 MB / 1.422 GB, free: 14.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.5315, allocations: 0.4919 MB / 1.423 GB, free: 13.81 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.532, allocations: 295.4 kB / 1.423 GB, free: 13.51 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5322, allocations: 305.1 kB / 1.423 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.5335, allocations: 0.9174 MB / 1.424 GB, free: 12.29 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.5351, allocations: 1.326 MB / 1.426 GB, free: 10.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.5382, allocations: 2.426 MB / 1.428 GB, free: 8.203 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.5382, allocations: 4 kB / 1.428 GB, free: 8.199 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006182/0.5444, allocations: 3.433 MB / 1.431 GB, free: 4.746 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5444, allocations: 8 kB / 1.431 GB, free: 4.738 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.5445, allocations: 12.84 kB / 1.431 GB, free: 4.727 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.5478, allocations: 1.186 MB / 1.433 GB, free: 3.535 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/0.5487, allocations: 255.6 kB / 1.433 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/0.5663, allocations: 13.35 MB / 1.446 GB, free: 5.598 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.5675, allocations: 87.97 kB / 1.446 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.5676, allocations: 64 kB / 1.446 GB, free: 5.449 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001748/0.5694, allocations: 1.118 MB / 1.447 GB, free: 4.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.5696, allocations: 170.9 kB / 1.447 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/0.5753, allocations: 3.134 MB / 1.45 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.5753, allocations: 15.94 kB / 1.45 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.5753, allocations: 12 kB / 1.45 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.5753, allocations: 3.984 kB / 1.45 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.5854, allocations: 5.905 MB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.5855, allocations: 4 kB / 1.456 GB, free: 10.92 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.586, allocations: 151.8 kB / 1.456 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.589, allocations: 1.065 MB / 1.457 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/0.5891, allocations: 24 kB / 1.457 GB, free: 9.68 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.6062, allocations: 13.06 MB / 1.47 GB, free: 12.28 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.6062, allocations: 8 kB / 1.47 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.6115, allocations: 3.12 MB / 1.473 GB, free: 9.066 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/0.6124, allocations: 362.8 kB / 1.473 GB, free: 8.711 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.6126, allocations: 28 kB / 1.473 GB, free: 8.684 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007354/0.6133, allocations: 79.89 kB / 1.474 GB, free: 8.605 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.6136, allocations: 128.6 kB / 1.474 GB, free: 8.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.6137, allocations: 44 kB / 1.474 GB, free: 8.438 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001019/0.6147, allocations: 0.7632 MB / 1.474 GB, free: 7.672 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.6147, allocations: 0 / 1.474 GB, free: 7.672 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001811/0.6166, allocations: 0.6602 MB / 1.475 GB, free: 7.012 MB / 1.17 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005426/0.622, allocations: 3.713 MB / 1.479 GB, free: 3.203 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004862/0.6268, allocations: 3.016 MB / 1.482 GB, free: 152 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6268, allocations: 0 / 1.482 GB, free: 152 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.6298, allocations: 1.885 MB / 1.484 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.6319, allocations: 0.4899 MB / 1.484 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/0.6616, allocations: 19.2 MB / 1.503 GB, free: 9.953 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.6639, allocations: 1.765 MB / 1.504 GB, free: 8.156 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001101/0.665, allocations: 354.1 kB / 1.505 GB, free: 7.805 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.6663, allocations: 1.007 MB / 1.506 GB, free: 6.797 MB / 1.201 GB Notification: Performance of SimCode: time 1.964e-06/0.6663, allocations: 0 / 1.506 GB, free: 6.797 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.7687, allocations: 56.12 MB / 1.561 GB, free: 15.62 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.64, allocations: 11.53 kB / 1.561 GB, free: 15.61 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 21.785474705975503]