Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001448/0.001448, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001606/0.001606, allocations: 211.6 kB / 23.01 MB, free: 4.566 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.247/3.247, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [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.002055/0.002055, allocations: 70.3 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3858, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04815/0.4339, allocations: 39.8 MB / 1.393 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.4552, allocations: 11.43 MB / 1.404 GB, free: 4.523 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004286/0.4595, allocations: 206.5 kB / 1.404 GB, free: 4.32 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01242/0.4719, allocations: 4.561 MB / 1.409 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007635/0.4795, allocations: 2.34 MB / 1.411 GB, free: 13.4 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006433/0.486, allocations: 2.244 MB / 1.413 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.4993, allocations: 9.281 MB / 1.422 GB, free: 1.844 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.5102, allocations: 6.396 MB / 1.429 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007902/0.5181, allocations: 4.106 MB / 1.433 GB, free: 7.211 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009367/0.5275, allocations: 4.755 MB / 1.437 GB, free: 2.441 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002759/0.5302, allocations: 0.8242 MB / 1.438 GB, free: 1.617 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.5349, allocations: 1.607 MB / 1.44 GB, free: 8 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004774/0.5397, allocations: 3.235 MB / 1.443 GB, free: 12.76 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.007448/0.5472, allocations: 3.657 MB / 1.446 GB, free: 9.09 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01771/0.5649, allocations: 12.34 MB / 1.458 GB, free: 12.71 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5649, allocations: 0 / 1.458 GB, free: 12.71 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5649, allocations: 3.938 kB / 1.458 GB, free: 12.71 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004194/0.5653, allocations: 0 / 1.458 GB, free: 12.71 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01888/0.5842, allocations: 6.401 MB / 1.465 GB, free: 6.246 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5842, allocations: 12.03 kB / 1.465 GB, free: 6.234 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/0.5901, allocations: 1.09 MB / 1.466 GB, free: 5.141 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009432/0.5995, allocations: 3.576 MB / 1.469 GB, free: 1.504 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.5999, allocations: 419.8 kB / 1.47 GB, free: 1.094 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.6017, allocations: 0.5432 MB / 1.47 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/0.6219, allocations: 9.377 MB / 1.479 GB, free: 6.84 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.622, allocations: 27.81 kB / 1.479 GB, free: 6.812 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000692/0.6227, allocations: 244 kB / 1.48 GB, free: 6.574 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000633/0.6234, allocations: 422.9 kB / 1.48 GB, free: 6.16 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.6386, allocations: 7.123 MB / 1.487 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05564/0.6942, allocations: 40.72 MB / 1.527 GB, free: 2.555 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/0.6994, allocations: 2.909 MB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.7026, allocations: 1.942 MB / 1.531 GB, free: 13.7 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.7027, allocations: 22 kB / 1.531 GB, free: 13.68 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/0.7028, allocations: 60.56 kB / 1.531 GB, free: 13.61 MB / 1.232 GB Notification: Performance of pre-optimization done (n=209): time 4.528e-06/0.7028, allocations: 0 / 1.531 GB, free: 13.61 MB / 1.232 GB Notification: Performance of matching and sorting (n=212): time 0.02482/0.7276, allocations: 10.28 MB / 1.542 GB, free: 3.316 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.7277, allocations: 77.34 kB / 1.542 GB, free: 3.227 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/0.7307, allocations: 2.01 MB / 1.544 GB, free: 1.199 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.7309, allocations: 61.7 kB / 1.544 GB, free: 1.133 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.7328, allocations: 2.478 MB / 1.546 GB, free: 14.62 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008285/0.7336, allocations: 0.7669 MB / 1.547 GB, free: 13.85 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007539/0.7344, allocations: 481.5 kB / 1.547 GB, free: 13.38 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7345, allocations: 301.1 kB / 1.548 GB, free: 13.08 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.7366, allocations: 1.376 MB / 1.549 GB, free: 11.7 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.7393, allocations: 2.108 MB / 1.551 GB, free: 9.277 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/0.7444, allocations: 3.766 MB / 1.555 GB, free: 5.199 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.7444, allocations: 4 kB / 1.555 GB, free: 5.195 MB / 1.248 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008662/0.7531, allocations: 5.027 MB / 1.56 GB, free: 152 kB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.7531, allocations: 16 kB / 1.56 GB, free: 136 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/0.7531, allocations: 24 kB / 1.56 GB, free: 112 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/0.7569, allocations: 1.575 MB / 1.561 GB, free: 14.52 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.7587, allocations: 455.2 kB / 1.562 GB, free: 14.08 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.7832, allocations: 18.19 MB / 1.579 GB, free: 11.43 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.7857, allocations: 147.9 kB / 1.579 GB, free: 11.29 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.7859, allocations: 108 kB / 1.58 GB, free: 11.18 MB / 1.279 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003503/0.7894, allocations: 1.945 MB / 1.581 GB, free: 9.227 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.7901, allocations: 298.2 kB / 1.582 GB, free: 8.934 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007825/0.7979, allocations: 4.408 MB / 1.586 GB, free: 4.496 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.798, allocations: 20 kB / 1.586 GB, free: 4.477 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/0.798, allocations: 16.09 kB / 1.586 GB, free: 4.461 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.798, allocations: 15.94 kB / 1.586 GB, free: 4.445 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.8156, allocations: 9.612 MB / 1.595 GB, free: 10.69 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.8156, allocations: 4 kB / 1.595 GB, free: 10.68 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.8167, allocations: 235.6 kB / 1.596 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/0.8202, allocations: 1.425 MB / 1.597 GB, free: 9.02 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.8203, allocations: 36.12 kB / 1.597 GB, free: 8.984 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.85/1.67, allocations: 18.17 MB / 1.615 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/1.67, allocations: 8.594 kB / 1.615 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007914/1.678, allocations: 4.51 MB / 1.619 GB, free: 225.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.68, allocations: 0.5709 MB / 1.62 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/1.68, allocations: 37.98 kB / 1.62 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.682, allocations: 115.9 kB / 1.62 GB, free: 225.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005634/1.682, allocations: 191.1 kB / 1.62 GB, free: 225.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.682, allocations: 58.88 kB / 1.62 GB, free: 225.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002066/1.684, allocations: 1.319 MB / 1.622 GB, free: 225.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.684, allocations: 0.5 kB / 1.622 GB, free: 225.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003631/1.688, allocations: 1.138 MB / 1.623 GB, free: 225 MB / 1.295 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002671/1.688, allocations: 171.6 kB / 1.623 GB, free: 224.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006809/1.695, allocations: 4.539 MB / 1.627 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.695, allocations: 2.156 kB / 1.627 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004219/1.699, allocations: 2.815 MB / 1.63 GB, free: 221.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/1.703, allocations: 0.8989 MB / 1.631 GB, free: 221.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/1.72, allocations: 10.33 MB / 1.641 GB, free: 216.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/1.725, allocations: 3.786 MB / 1.645 GB, free: 215.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007531/1.725, allocations: 164.3 kB / 1.645 GB, free: 215.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.393e-06/1.725, allocations: 0 / 1.645 GB, free: 215.3 MB / 1.295 GB Notification: Performance of Templates: time 0.1296/1.855, allocations: 172.4 MB / 1.813 GB, free: 57.54 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.881597920000786]