Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001973/0.001973, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001353/0.001353, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.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 2.875/2.875, allocations: 497.2 MB / 0.7811 GB, free: 12.15 MB / 0.6231 GB " [Timeout remaining time 176] 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_L_N,fileNamePrefix="Buildings_latest_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_latest_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.001969/0.001969, allocations: 63.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9324/0.9343, allocations: 173.9 MB / 1.304 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02971/0.964, allocations: 35.46 MB / 1.339 GB, free: 8.445 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.9811, allocations: 11.63 MB / 1.35 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004256/0.9854, allocations: 159.8 kB / 1.35 GB, free: 476 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.9979, allocations: 4.324 MB / 1.354 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008643/1.006, allocations: 2.084 MB / 1.356 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007856/1.014, allocations: 2.418 MB / 1.359 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01302/1.027, allocations: 8.453 MB / 1.367 GB, free: 7.477 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01481/1.042, allocations: 8.425 MB / 1.375 GB, free: 4.094 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00905/1.051, allocations: 3.8 MB / 1.379 GB, free: 2.336 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008935/1.06, allocations: 4.423 MB / 1.383 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002839/1.063, allocations: 0.7791 MB / 1.384 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007096/1.07, allocations: 2.06 MB / 1.386 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.006532/1.077, allocations: 3.144 MB / 1.389 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01001/1.087, allocations: 3.394 MB / 1.392 GB, free: 12.44 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02245/1.109, allocations: 12.02 MB / 1.404 GB, free: 7.547 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.109, allocations: 4 kB / 1.404 GB, free: 7.543 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.893e-06/1.109, allocations: 0 / 1.404 GB, free: 7.543 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004283/1.11, allocations: 0 / 1.404 GB, free: 7.543 MB / 1.092 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.02245/1.132, allocations: 5.95 MB / 1.41 GB, free: 3.527 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.132, allocations: 10.44 kB / 1.41 GB, free: 3.527 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002762/1.135, allocations: 0.8091 MB / 1.411 GB, free: 2.953 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007441/1.142, allocations: 1.081 MB / 1.412 GB, free: 2.418 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009864/1.152, allocations: 3.471 MB / 1.415 GB, free: 192 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005036/1.153, allocations: 417.9 kB / 1.416 GB, free: 16 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/1.155, allocations: 0.5383 MB / 1.416 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/1.178, allocations: 9.082 MB / 1.425 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.178, allocations: 33.98 kB / 1.425 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/1.18, allocations: 235.8 kB / 1.425 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004288/1.18, allocations: 345.3 kB / 1.426 GB, free: 9.961 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.196, allocations: 6.825 MB / 1.432 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05466/1.251, allocations: 39.86 MB / 1.471 GB, free: 8.457 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/1.255, allocations: 2.911 MB / 1.474 GB, free: 5.402 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002779/1.258, allocations: 1.778 MB / 1.476 GB, free: 3.625 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/1.258, allocations: 21.94 kB / 1.476 GB, free: 3.602 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.258, allocations: 52.56 kB / 1.476 GB, free: 3.543 MB / 1.154 GB Notification: Performance of pre-optimization done (n=179): time 3.706e-06/1.258, allocations: 4 kB / 1.476 GB, free: 3.539 MB / 1.154 GB Notification: Performance of matching and sorting (n=182): time 0.02595/1.284, allocations: 9.996 MB / 1.486 GB, free: 9.449 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/1.284, allocations: 73.41 kB / 1.486 GB, free: 9.363 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/1.286, allocations: 1.526 MB / 1.487 GB, free: 7.793 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003624/1.287, allocations: 57.7 kB / 1.487 GB, free: 7.73 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001851/1.289, allocations: 2.324 MB / 1.489 GB, free: 5.383 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009306/1.29, allocations: 0.6584 MB / 1.49 GB, free: 4.719 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000677/1.29, allocations: 412.1 kB / 1.491 GB, free: 4.309 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.29, allocations: 305.1 kB / 1.491 GB, free: 4.008 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/1.292, allocations: 1.183 MB / 1.492 GB, free: 2.82 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/1.295, allocations: 1.881 MB / 1.494 GB, free: 0.625 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/1.299, allocations: 3.367 MB / 1.497 GB, free: 12.94 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.299, allocations: 8 kB / 1.497 GB, free: 12.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008335/1.307, allocations: 4.547 MB / 1.502 GB, free: 8.363 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.307, allocations: 13.72 kB / 1.502 GB, free: 8.352 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/1.307, allocations: 24 kB / 1.502 GB, free: 8.328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003852/1.311, allocations: 1.58 MB / 1.503 GB, free: 6.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.313, allocations: 351.4 kB / 1.503 GB, free: 6.398 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02477/1.337, allocations: 18.61 MB / 1.522 GB, free: 3.238 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.339, allocations: 116 kB / 1.522 GB, free: 3.125 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/1.339, allocations: 103.9 kB / 1.522 GB, free: 3.023 MB / 1.201 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.003494/1.343, allocations: 1.887 MB / 1.524 GB, free: 1.125 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000509/1.344, allocations: 230.6 kB / 1.524 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007327/1.351, allocations: 4.043 MB / 1.528 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.351, allocations: 20 kB / 1.528 GB, free: 12.81 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.351, allocations: 16 kB / 1.528 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/1.351, allocations: 11.91 kB / 1.528 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.369, allocations: 9.418 MB / 1.537 GB, free: 3.109 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.369, allocations: 4 kB / 1.537 GB, free: 3.105 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/1.37, allocations: 183.7 kB / 1.537 GB, free: 2.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.374, allocations: 1.35 MB / 1.539 GB, free: 1.566 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/1.374, allocations: 36 kB / 1.539 GB, free: 1.531 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/1.397, allocations: 17.37 MB / 1.556 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.397, allocations: 12 kB / 1.556 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00749/1.405, allocations: 4.036 MB / 1.56 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.406, allocations: 0.5346 MB / 1.56 GB, free: 10.91 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/1.407, allocations: 36 kB / 1.56 GB, free: 10.87 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009888/1.408, allocations: 87.89 kB / 1.56 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/1.408, allocations: 161.7 kB / 1.56 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.408, allocations: 48 kB / 1.56 GB, free: 10.58 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001508/1.41, allocations: 1.005 MB / 1.561 GB, free: 9.551 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/1.41, allocations: 0 / 1.561 GB, free: 9.551 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003656/1.413, allocations: 0.9883 MB / 1.562 GB, free: 8.562 MB / 1.248 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.007634/1.421, allocations: 4.626 MB / 1.567 GB, free: 3.84 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007489/1.428, allocations: 4.171 MB / 1.571 GB, free: 15.62 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.428, allocations: 1 kB / 1.571 GB, free: 15.62 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004691/1.433, allocations: 2.583 MB / 1.573 GB, free: 12.99 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/1.437, allocations: 0.7754 MB / 1.574 GB, free: 12.24 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05351/1.491, allocations: 26.88 MB / 1.6 GB, free: 284 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/1.496, allocations: 3.573 MB / 1.604 GB, free: 12.67 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001579/1.498, allocations: 463.9 kB / 1.604 GB, free: 12.21 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/1.5, allocations: 1.788 MB / 1.606 GB, free: 10.43 MB / 1.295 GB Notification: Performance of SimCode: time 1.793e-06/1.5, allocations: 3.938 kB / 1.606 GB, free: 10.42 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/1.644, allocations: 74.4 MB / 1.679 GB, free: 0.7031 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/15.21, allocations: 11.8 kB / 1.679 GB, free: 0.6914 MB / 1.357 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.053150989115238]