Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001335/0.001335, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001551/0.001551, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7714 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [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.002048/0.002048, allocations: 66.02 kB / 1.119 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 170 MB / 1.285 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0217/0.4094, allocations: 16.8 MB / 1.301 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00964/0.419, allocations: 5.015 MB / 1.306 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.4207, allocations: 87.38 kB / 1.306 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.4239, allocations: 1.086 MB / 1.307 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.4263, allocations: 0.7854 MB / 1.308 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.429, allocations: 0.9612 MB / 1.309 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004899/0.4339, allocations: 3.622 MB / 1.312 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/0.4377, allocations: 2.454 MB / 1.315 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.4407, allocations: 1.624 MB / 1.316 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.4442, allocations: 1.877 MB / 1.318 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007533/0.445, allocations: 343.9 kB / 1.318 GB, free: 8.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.4468, allocations: 0.8114 MB / 1.319 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.4485, allocations: 1.356 MB / 1.321 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.4505, allocations: 1.455 MB / 1.322 GB, free: 4.887 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006962/0.4575, allocations: 5.136 MB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.4575, allocations: 0 / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4575, allocations: 0 / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001757/0.4577, allocations: 0 / 1.327 GB, free: 15.73 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006733/0.4644, allocations: 2.646 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4645, allocations: 12.03 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.4685, allocations: 0.8498 MB / 1.33 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.4725, allocations: 1.531 MB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.4727, allocations: 177.1 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005924/0.4733, allocations: 236.4 kB / 1.332 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008522/0.4818, allocations: 4.158 MB / 1.336 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.4819, allocations: 7.938 kB / 1.336 GB, free: 5.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/0.4822, allocations: 104 kB / 1.336 GB, free: 5.809 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/0.4824, allocations: 168.5 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008388/0.4908, allocations: 3.632 MB / 1.34 GB, free: 1.992 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.5164, allocations: 15.63 MB / 1.355 GB, free: 1.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/0.5197, allocations: 1.481 MB / 1.357 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.5207, allocations: 0.5515 MB / 1.357 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.5208, allocations: 20.58 kB / 1.357 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5208, allocations: 47.2 kB / 1.357 GB, free: 14.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 2.866e-06/0.5208, allocations: 4 kB / 1.357 GB, free: 14.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.006748/0.5276, allocations: 3.197 MB / 1.361 GB, free: 11.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.5277, allocations: 115.5 kB / 1.361 GB, free: 11.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.5293, allocations: 1.022 MB / 1.362 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.5294, allocations: 37.7 kB / 1.362 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009238/0.5303, allocations: 1.138 MB / 1.363 GB, free: 9.344 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.5306, allocations: 293.7 kB / 1.363 GB, free: 9.055 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.5311, allocations: 279.4 kB / 1.363 GB, free: 8.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000253/0.5313, allocations: 410.7 kB / 1.364 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.5324, allocations: 0.6167 MB / 1.364 GB, free: 7.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5339, allocations: 1.185 MB / 1.366 GB, free: 6.297 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.5364, allocations: 1.868 MB / 1.367 GB, free: 4.164 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.5364, allocations: 4 kB / 1.367 GB, free: 4.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003459/0.5399, allocations: 2.023 MB / 1.369 GB, free: 2.117 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.5399, allocations: 12 kB / 1.369 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/0.5399, allocations: 20 kB / 1.369 GB, free: 2.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.5404, allocations: 167.3 kB / 1.37 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5415, allocations: 347.8 kB / 1.37 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-05/0.5416, allocations: 35.86 kB / 1.37 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5426, allocations: 127.8 kB / 1.37 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.5427, allocations: 67.98 kB / 1.37 GB, free: 1.344 MB / 1.061 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.001689/0.5444, allocations: 0.9771 MB / 1.371 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.5447, allocations: 123.2 kB / 1.371 GB, free: 240 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.547, allocations: 1.222 MB / 1.372 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.547, allocations: 11.94 kB / 1.372 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.547, allocations: 4 kB / 1.372 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.547, allocations: 3.984 kB / 1.372 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.5535, allocations: 3.78 MB / 1.376 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.5535, allocations: 8 kB / 1.376 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.5541, allocations: 155.8 kB / 1.376 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.5545, allocations: 139.3 kB / 1.376 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.5545, allocations: 16.23 kB / 1.376 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.5545, allocations: 15.94 kB / 1.376 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5545, allocations: 7.938 kB / 1.376 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.5568, allocations: 1.466 MB / 1.378 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/0.5574, allocations: 207.2 kB / 1.378 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5575, allocations: 16 kB / 1.378 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.5581, allocations: 67.89 kB / 1.378 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5582, allocations: 60.48 kB / 1.378 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.5582, allocations: 20 kB / 1.378 GB, free: 8.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001041/0.5593, allocations: 0.6953 MB / 1.379 GB, free: 8.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.5593, allocations: 0 / 1.379 GB, free: 8.113 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001559/0.5608, allocations: 392 kB / 1.379 GB, free: 7.73 MB / 1.076 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.0002422/0.5611, allocations: 131 kB / 1.379 GB, free: 7.594 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.5635, allocations: 1.362 MB / 1.381 GB, free: 6.223 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.5635, allocations: 4 kB / 1.381 GB, free: 6.219 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.5644, allocations: 0.5321 MB / 1.381 GB, free: 5.676 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.5659, allocations: 276.6 kB / 1.382 GB, free: 5.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.5737, allocations: 4.196 MB / 1.386 GB, free: 1.141 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.5758, allocations: 1.967 MB / 1.388 GB, free: 15.14 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.5762, allocations: 95.36 kB / 1.388 GB, free: 15.05 MB / 1.092 GB Notification: Performance of SimCode: time 1.723e-06/0.5762, allocations: 0 / 1.388 GB, free: 15.05 MB / 1.092 GB Notification: Performance of Templates: time 0.09152/0.6677, allocations: 73.52 MB / 1.459 GB, free: 5.508 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.992082563025178]