Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001376/0.001376, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001565/0.001565, allocations: 187.4 kB / 22.22 MB, free: 5.105 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.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.03 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.174/3.174, allocations: 496 MB / 0.7835 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] 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.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 72.73 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3387, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01439/0.353, allocations: 10.51 MB / 1.318 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.3589, allocations: 3.267 MB / 1.321 GB, free: 3.961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.3594, allocations: 47.62 kB / 1.321 GB, free: 3.914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.3611, allocations: 0.618 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3626, allocations: 0.774 MB / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.3642, allocations: 0.7593 MB / 1.323 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.3675, allocations: 2.996 MB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.3694, allocations: 1.307 MB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3711, allocations: 1.27 MB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.3735, allocations: 1.714 MB / 1.33 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.3738, allocations: 236 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009528/0.3747, allocations: 0.5111 MB / 1.331 GB, free: 9.668 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.3758, allocations: 1.095 MB / 1.332 GB, free: 8.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.377, allocations: 1.12 MB / 1.333 GB, free: 7.445 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.3808, allocations: 3.687 MB / 1.336 GB, free: 3.746 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3808, allocations: 4 kB / 1.336 GB, free: 3.742 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3808, allocations: 0 / 1.336 GB, free: 3.742 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.619e-05/0.3808, allocations: 0 / 1.336 GB, free: 3.742 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004005/0.3848, allocations: 2.119 MB / 1.339 GB, free: 1.582 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3849, allocations: 8.922 kB / 1.339 GB, free: 1.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008695/0.3936, allocations: 1.326 MB / 1.34 GB, free: 252 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.3964, allocations: 1.258 MB / 1.341 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3965, allocations: 119.3 kB / 1.341 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.3968, allocations: 144.3 kB / 1.341 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005744/0.4026, allocations: 3.444 MB / 1.345 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.4026, allocations: 7.953 kB / 1.345 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/0.4028, allocations: 67.89 kB / 1.345 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/0.4031, allocations: 207.1 kB / 1.345 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005449/0.4085, allocations: 3.135 MB / 1.348 GB, free: 7.746 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.4292, allocations: 13.45 MB / 1.361 GB, free: 9.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.4318, allocations: 1.615 MB / 1.363 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.434, allocations: 1.323 MB / 1.364 GB, free: 6.465 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4341, allocations: 13 kB / 1.364 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.4341, allocations: 47.56 kB / 1.364 GB, free: 6.398 MB / 1.061 GB Notification: Performance of pre-optimization done (n=104): time 3.496e-06/0.4341, allocations: 0 / 1.364 GB, free: 6.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=183): time 0.1385/0.5727, allocations: 36.19 MB / 1.399 GB, free: 2.164 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.5727, allocations: 73.41 kB / 1.4 GB, free: 2.078 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.5744, allocations: 1.054 MB / 1.401 GB, free: 1 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.5746, allocations: 53.7 kB / 1.401 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.5753, allocations: 0.8054 MB / 1.401 GB, free: 128 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006979/0.576, allocations: 0.6584 MB / 1.402 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000772/0.5767, allocations: 367.5 kB / 1.402 GB, free: 15.1 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5769, allocations: 309.1 kB / 1.403 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.5798, allocations: 1.928 MB / 1.405 GB, free: 12.86 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.5831, allocations: 2.281 MB / 1.407 GB, free: 10.46 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006351/0.5894, allocations: 4.396 MB / 1.411 GB, free: 5.941 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.5894, allocations: 4 kB / 1.411 GB, free: 5.938 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02046/0.6099, allocations: 8.873 MB / 1.42 GB, free: 13.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.6099, allocations: 11.94 kB / 1.42 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6099, allocations: 8.656 kB / 1.42 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/0.6267, allocations: 4.977 MB / 1.425 GB, free: 8.023 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.6276, allocations: 195.6 kB / 1.425 GB, free: 7.832 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06123/0.6888, allocations: 38.54 MB / 1.462 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.6907, allocations: 99.89 kB / 1.463 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.6909, allocations: 71.98 kB / 1.463 GB, free: 0.6484 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.6923, allocations: 0.8056 MB / 1.463 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/0.6926, allocations: 143.1 kB / 1.464 GB, free: 15.69 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/0.7128, allocations: 8.741 MB / 1.472 GB, free: 6.91 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.7128, allocations: 16 kB / 1.472 GB, free: 6.895 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/0.7129, allocations: 32 kB / 1.472 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.466e-05/0.713, allocations: 11.97 kB / 1.472 GB, free: 6.852 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03011/0.7431, allocations: 13.24 MB / 1.485 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/0.7431, allocations: 11.92 kB / 1.485 GB, free: 9.441 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.7436, allocations: 115.9 kB / 1.485 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0166/0.7602, allocations: 4.837 MB / 1.49 GB, free: 4.477 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003385/0.7605, allocations: 36 kB / 1.49 GB, free: 4.441 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05939/0.8199, allocations: 36.46 MB / 1.526 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.8199, allocations: 7.938 kB / 1.526 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/0.8402, allocations: 8.452 MB / 1.534 GB, free: 6.953 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/0.842, allocations: 0.577 MB / 1.534 GB, free: 6.379 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.8423, allocations: 39.94 kB / 1.534 GB, free: 6.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.8435, allocations: 91.88 kB / 1.534 GB, free: 6.25 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008913/0.8444, allocations: 173.5 kB / 1.535 GB, free: 6.082 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.8445, allocations: 51.94 kB / 1.535 GB, free: 6.031 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001179/0.8457, allocations: 0.7382 MB / 1.535 GB, free: 5.281 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8457, allocations: 0 / 1.535 GB, free: 5.281 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003634/0.8493, allocations: 1.008 MB / 1.536 GB, free: 4.273 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.8497, allocations: 140.7 kB / 1.537 GB, free: 4.129 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01081/0.8605, allocations: 5.746 MB / 1.542 GB, free: 14.33 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.8605, allocations: 0 / 1.542 GB, free: 14.33 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00849/0.869, allocations: 3.764 MB / 1.546 GB, free: 10.52 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.8707, allocations: 238.8 kB / 1.546 GB, free: 10.29 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009587/0.8802, allocations: 5.188 MB / 1.551 GB, free: 5.043 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.8823, allocations: 1.859 MB / 1.553 GB, free: 3.148 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009219/0.8832, allocations: 351.4 kB / 1.553 GB, free: 2.801 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.8835, allocations: 63.42 kB / 1.553 GB, free: 2.738 MB / 1.248 GB Notification: Performance of SimCode: time 1.533e-06/0.8835, allocations: 0 / 1.553 GB, free: 2.738 MB / 1.248 GB Notification: Performance of Templates: time 0.7202/1.604, allocations: 63.51 MB / 1.615 GB, free: 278.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 11.016935364343226]