Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001926/0.001926, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002216/0.002216, allocations: 190 kB / 22.1 MB, free: 5.152 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.441/1.441, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.136/3.136, allocations: 495.8 MB / 0.783 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 73.05 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02153/0.351, allocations: 16.67 MB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.3599, allocations: 4.968 MB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.361, allocations: 83.38 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.364, allocations: 1.096 MB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.366, allocations: 0.7816 MB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.3684, allocations: 0.9582 MB / 1.331 GB, free: 9.199 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004259/0.3726, allocations: 3.618 MB / 1.334 GB, free: 5.574 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/0.3759, allocations: 2.307 MB / 1.337 GB, free: 3.199 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.3781, allocations: 1.621 MB / 1.338 GB, free: 1.574 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.3806, allocations: 1.877 MB / 1.34 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.3811, allocations: 340 kB / 1.34 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3825, allocations: 0.7451 MB / 1.341 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.3839, allocations: 1.36 MB / 1.342 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.3856, allocations: 1.459 MB / 1.344 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.3912, allocations: 5.148 MB / 1.349 GB, free: 6.621 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3912, allocations: 3.938 kB / 1.349 GB, free: 6.617 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3912, allocations: 0 / 1.349 GB, free: 6.617 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.902e-05/0.3913, allocations: 0 / 1.349 GB, free: 6.617 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005071/0.3963, allocations: 2.637 MB / 1.351 GB, free: 3.938 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3964, allocations: 8.031 kB / 1.351 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.4006, allocations: 0.842 MB / 1.352 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.4037, allocations: 1.535 MB / 1.354 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.4038, allocations: 177.1 kB / 1.354 GB, free: 1.344 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/0.4043, allocations: 228.4 kB / 1.354 GB, free: 1.121 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007155/0.4114, allocations: 4.169 MB / 1.358 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.559e-05/0.4115, allocations: 11.89 kB / 1.358 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.4117, allocations: 95.98 kB / 1.358 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.412, allocations: 172.5 kB / 1.358 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006207/0.4182, allocations: 3.632 MB / 1.362 GB, free: 8.887 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.4378, allocations: 15.56 MB / 1.377 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.4411, allocations: 1.473 MB / 1.379 GB, free: 6.547 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009201/0.442, allocations: 0.5361 MB / 1.379 GB, free: 6.004 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4421, allocations: 28.64 kB / 1.379 GB, free: 5.977 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.4422, allocations: 43.16 kB / 1.379 GB, free: 5.922 MB / 1.076 GB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.4422, allocations: 0 / 1.379 GB, free: 5.922 MB / 1.076 GB Notification: Performance of matching and sorting (n=76): time 0.005881/0.448, allocations: 3.209 MB / 1.382 GB, free: 2.691 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.4481, allocations: 111.5 kB / 1.382 GB, free: 2.559 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4495, allocations: 1.022 MB / 1.383 GB, free: 1.512 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.4496, allocations: 41.64 kB / 1.383 GB, free: 1.465 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/0.4505, allocations: 1.134 MB / 1.385 GB, free: 324 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.4508, allocations: 293.6 kB / 1.385 GB, free: 28 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/0.4512, allocations: 279.5 kB / 1.385 GB, free: 15.74 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002438/0.4514, allocations: 406.7 kB / 1.385 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/0.4524, allocations: 0.6207 MB / 1.386 GB, free: 14.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4539, allocations: 1.185 MB / 1.387 GB, free: 13.27 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.4564, allocations: 1.876 MB / 1.389 GB, free: 11.12 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.4564, allocations: 4 kB / 1.389 GB, free: 11.12 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00333/0.4598, allocations: 2.019 MB / 1.391 GB, free: 9.082 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4598, allocations: 16.91 kB / 1.391 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.4598, allocations: 20 kB / 1.391 GB, free: 9.047 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.4603, allocations: 167.3 kB / 1.391 GB, free: 8.871 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.4614, allocations: 339.4 kB / 1.392 GB, free: 8.539 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-05/0.4615, allocations: 35.86 kB / 1.392 GB, free: 8.504 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.4624, allocations: 135.8 kB / 1.392 GB, free: 8.371 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4625, allocations: 64 kB / 1.392 GB, free: 8.309 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001397/0.4639, allocations: 0.9786 MB / 1.393 GB, free: 7.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.4642, allocations: 119.2 kB / 1.393 GB, free: 7.203 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.4664, allocations: 1.226 MB / 1.394 GB, free: 5.957 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4664, allocations: 11.94 kB / 1.394 GB, free: 5.945 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4664, allocations: 7.938 kB / 1.394 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4665, allocations: 7.984 kB / 1.394 GB, free: 5.93 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.4724, allocations: 3.768 MB / 1.398 GB, free: 2.027 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4724, allocations: 0 / 1.398 GB, free: 2.027 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.4731, allocations: 164 kB / 1.398 GB, free: 1.867 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.4735, allocations: 135.3 kB / 1.398 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.4735, allocations: 20 kB / 1.398 GB, free: 1.703 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.4735, allocations: 7.938 kB / 1.398 GB, free: 1.695 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.4735, allocations: 7.938 kB / 1.398 GB, free: 1.688 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.4756, allocations: 1.47 MB / 1.4 GB, free: 164 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.4761, allocations: 199.2 kB / 1.4 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.4763, allocations: 20 kB / 1.4 GB, free: 15.95 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.4769, allocations: 63.84 kB / 1.4 GB, free: 15.88 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.477, allocations: 72.42 kB / 1.4 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.4771, allocations: 20 kB / 1.4 GB, free: 15.79 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009947/0.4781, allocations: 0.6991 MB / 1.401 GB, free: 15.08 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4781, allocations: 0 / 1.401 GB, free: 15.08 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001463/0.4795, allocations: 388 kB / 1.401 GB, free: 14.7 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002224/0.4797, allocations: 131.1 kB / 1.401 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.4821, allocations: 1.356 MB / 1.402 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4821, allocations: 8.062 kB / 1.402 GB, free: 13.19 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.483, allocations: 0.5261 MB / 1.403 GB, free: 12.66 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.4844, allocations: 275.9 kB / 1.403 GB, free: 12.39 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.4914, allocations: 3.838 MB / 1.407 GB, free: 8.492 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003034/0.4945, allocations: 1.916 MB / 1.409 GB, free: 6.543 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001796/0.4963, allocations: 449.4 kB / 1.409 GB, free: 6.102 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.4966, allocations: 83.42 kB / 1.409 GB, free: 6.02 MB / 1.107 GB Notification: Performance of SimCode: time 1.854e-06/0.4966, allocations: 0 / 1.409 GB, free: 6.02 MB / 1.107 GB Notification: Performance of Templates: time 0.0306/0.5272, allocations: 14.68 MB / 1.424 GB, free: 7.461 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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: 9.074011742137372]