Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001776/0.001776, allocations: 110 kB / 18.93 MB, free: 2.945 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.002006/0.002006, allocations: 190.1 kB / 22.23 MB, free: 5.156 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.ACLine_R,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 160.8 MB / 1.218 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04695/1.13, allocations: 36.81 MB / 1.254 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02189/1.152, allocations: 10.31 MB / 1.264 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004528/1.157, allocations: 194.6 kB / 1.265 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01134/1.168, allocations: 3.966 MB / 1.269 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/1.176, allocations: 2.146 MB / 1.271 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00717/1.183, allocations: 2.041 MB / 1.273 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01264/1.195, allocations: 7.972 MB / 1.28 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/1.207, allocations: 4.915 MB / 1.285 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007698/1.215, allocations: 3.47 MB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/1.225, allocations: 3.929 MB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003244/1.229, allocations: 0.6796 MB / 1.293 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/1.234, allocations: 1.467 MB / 1.295 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00583/1.24, allocations: 2.685 MB / 1.297 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008759/1.249, allocations: 3.108 MB / 1.3 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02056/1.269, allocations: 10.41 MB / 1.31 GB, free: 8.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/1.269, allocations: 0 / 1.31 GB, free: 8.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.855e-06/1.269, allocations: 0 / 1.31 GB, free: 8.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006193/1.27, allocations: 4 kB / 1.31 GB, free: 8.77 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02057/1.291, allocations: 5.538 MB / 1.316 GB, free: 3.152 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.291, allocations: 12.03 kB / 1.316 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/1.297, allocations: 0.989 MB / 1.317 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009216/1.307, allocations: 3.192 MB / 1.32 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/1.307, allocations: 357.9 kB / 1.32 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/1.309, allocations: 476.2 kB / 1.321 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/1.329, allocations: 7.906 MB / 1.328 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/1.329, allocations: 23.86 kB / 1.328 GB, free: 5.789 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006209/1.329, allocations: 208 kB / 1.329 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005572/1.33, allocations: 365.1 kB / 1.329 GB, free: 5.227 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.345, allocations: 5.937 MB / 1.335 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06255/1.407, allocations: 36.01 MB / 1.37 GB, free: 8.035 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/1.412, allocations: 1.994 MB / 1.372 GB, free: 6.031 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002482/1.414, allocations: 1.336 MB / 1.373 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/1.414, allocations: 17.31 kB / 1.373 GB, free: 4.676 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/1.414, allocations: 55.81 kB / 1.373 GB, free: 4.613 MB / 1.076 GB Notification: Performance of pre-optimization done (n=157): time 4.559e-06/1.414, allocations: 0 / 1.373 GB, free: 4.613 MB / 1.076 GB Notification: Performance of matching and sorting (n=160): time 0.01711/1.432, allocations: 7.578 MB / 1.381 GB, free: 12.77 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.432, allocations: 68.72 kB / 1.381 GB, free: 12.69 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/1.436, allocations: 1.86 MB / 1.383 GB, free: 10.8 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003284/1.436, allocations: 57.7 kB / 1.383 GB, free: 10.74 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002077/1.438, allocations: 2.188 MB / 1.385 GB, free: 8.535 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009863/1.439, allocations: 0.5849 MB / 1.385 GB, free: 7.945 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.44, allocations: 408 kB / 1.386 GB, free: 7.539 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000185/1.44, allocations: 301.1 kB / 1.386 GB, free: 7.242 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/1.442, allocations: 1.062 MB / 1.387 GB, free: 6.176 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/1.445, allocations: 1.764 MB / 1.389 GB, free: 4.09 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004918/1.45, allocations: 3.041 MB / 1.392 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/1.45, allocations: 4 kB / 1.392 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008335/1.459, allocations: 3.91 MB / 1.396 GB, free: 12.77 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/1.459, allocations: 16 kB / 1.396 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/1.459, allocations: 20 kB / 1.396 GB, free: 12.74 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/1.462, allocations: 0.9395 MB / 1.396 GB, free: 11.76 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.463, allocations: 427.3 kB / 1.397 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02719/1.491, allocations: 22.77 MB / 1.419 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.493, allocations: 123.9 kB / 1.419 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/1.493, allocations: 96 kB / 1.419 GB, free: 2.676 MB / 1.123 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003405/1.497, allocations: 1.648 MB / 1.421 GB, free: 1.02 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007967/1.497, allocations: 270.4 kB / 1.421 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006123/1.504, allocations: 3.244 MB / 1.424 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.504, allocations: 16 kB / 1.424 GB, free: 13.45 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/1.504, allocations: 8 kB / 1.424 GB, free: 13.44 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/1.504, allocations: 7.969 kB / 1.424 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.519, allocations: 7.533 MB / 1.432 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.519, allocations: 4 kB / 1.432 GB, free: 5.738 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/1.52, allocations: 215.6 kB / 1.432 GB, free: 5.527 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002531/1.523, allocations: 0.8884 MB / 1.433 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.523, allocations: 32 kB / 1.433 GB, free: 4.57 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0264/1.549, allocations: 22.74 MB / 1.455 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.549, allocations: 7.984 kB / 1.455 GB, free: 12.13 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006626/1.556, allocations: 3.361 MB / 1.458 GB, free: 8.656 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.558, allocations: 0.5422 MB / 1.459 GB, free: 8.094 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.558, allocations: 35.98 kB / 1.459 GB, free: 8.059 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.56, allocations: 91.83 kB / 1.459 GB, free: 7.969 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/1.56, allocations: 152.9 kB / 1.459 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.56, allocations: 40 kB / 1.459 GB, free: 7.781 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002152/1.562, allocations: 1.229 MB / 1.46 GB, free: 6.539 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.562, allocations: 0 / 1.46 GB, free: 6.539 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003798/1.566, allocations: 0.9023 MB / 1.461 GB, free: 5.637 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/1.567, allocations: 161.2 kB / 1.461 GB, free: 5.473 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007857/1.574, allocations: 4.298 MB / 1.466 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.574, allocations: 0 / 1.466 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005346/1.58, allocations: 2.91 MB / 1.468 GB, free: 13.96 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/1.584, allocations: 0.8254 MB / 1.469 GB, free: 13.14 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.602, allocations: 7.828 MB / 1.477 GB, free: 5.215 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.606, allocations: 3.201 MB / 1.48 GB, free: 1.984 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002095/1.608, allocations: 0.5293 MB / 1.481 GB, free: 1.449 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/1.609, allocations: 147.4 kB / 1.481 GB, free: 1.305 MB / 1.186 GB Notification: Performance of SimCode: time 1.292e-06/1.609, allocations: 0 / 1.481 GB, free: 1.305 MB / 1.186 GB Notification: Performance of Templates: time 0.09148/1.7, allocations: 43.52 MB / 1.523 GB, free: 6.34 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.34726896788925]