Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001323/0.001323, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001479/0.001479, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4432, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02444/0.4677, allocations: 16.77 MB / 1.232 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4788, allocations: 4.988 MB / 1.237 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.4807, allocations: 63.69 kB / 1.237 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.4839, allocations: 1.085 MB / 1.238 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.4867, allocations: 0.7815 MB / 1.239 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.4897, allocations: 0.9466 MB / 1.24 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00506/0.4948, allocations: 3.618 MB / 1.244 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003603/0.4984, allocations: 2.309 MB / 1.246 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/0.5017, allocations: 1.589 MB / 1.248 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.5049, allocations: 1.885 MB / 1.249 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.5054, allocations: 340 kB / 1.25 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.5074, allocations: 0.8075 MB / 1.25 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.509, allocations: 1.36 MB / 1.252 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.5109, allocations: 1.463 MB / 1.253 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006722/0.5176, allocations: 5.144 MB / 1.258 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.5176, allocations: 0 / 1.258 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5176, allocations: 3.938 kB / 1.258 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001393/0.5178, allocations: 0 / 1.258 GB, free: 4.004 MB / 0.9981 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.006666/0.5244, allocations: 2.709 MB / 1.261 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5245, allocations: 8.031 kB / 1.261 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003979/0.5285, allocations: 0.842 MB / 1.262 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8544/1.383, allocations: 1.57 MB / 1.263 GB, free: 46.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.383, allocations: 178.4 kB / 1.263 GB, free: 46.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/1.384, allocations: 232 kB / 1.264 GB, free: 46.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007561/1.391, allocations: 4.165 MB / 1.268 GB, free: 46.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.517e-05/1.391, allocations: 8.578 kB / 1.268 GB, free: 46.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/1.391, allocations: 102.4 kB / 1.268 GB, free: 46.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/1.392, allocations: 167.1 kB / 1.268 GB, free: 46.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007346/1.399, allocations: 3.635 MB / 1.272 GB, free: 45.53 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/1.421, allocations: 16.44 MB / 1.288 GB, free: 33.26 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/1.424, allocations: 2.247 MB / 1.29 GB, free: 31.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.425, allocations: 0.5477 MB / 1.29 GB, free: 31.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/1.425, allocations: 93.25 kB / 1.29 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.425, allocations: 54.2 kB / 1.29 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.696e-06/1.425, allocations: 0 / 1.29 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.006364/1.432, allocations: 3.498 MB / 1.294 GB, free: 29.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/1.432, allocations: 115.3 kB / 1.294 GB, free: 29.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.433, allocations: 1.014 MB / 1.295 GB, free: 29.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/1.434, allocations: 36.23 kB / 1.295 GB, free: 29.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/1.434, allocations: 1.139 MB / 1.296 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/1.434, allocations: 293.1 kB / 1.296 GB, free: 27.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/1.435, allocations: 277.7 kB / 1.297 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.435, allocations: 413.1 kB / 1.297 GB, free: 27.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/1.436, allocations: 0.6164 MB / 1.298 GB, free: 27.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/1.437, allocations: 1.189 MB / 1.299 GB, free: 26.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/1.44, allocations: 1.863 MB / 1.301 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1.44, allocations: 6.062 kB / 1.301 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003403/1.443, allocations: 2.023 MB / 1.303 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.443, allocations: 13.61 kB / 1.303 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.443, allocations: 19.22 kB / 1.303 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/1.443, allocations: 167.7 kB / 1.303 GB, free: 24.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.445, allocations: 345.7 kB / 1.303 GB, free: 24.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.059e-05/1.445, allocations: 39.7 kB / 1.303 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.446, allocations: 127.2 kB / 1.303 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.446, allocations: 70.52 kB / 1.303 GB, free: 24.08 MB / 0.9981 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.001567/1.447, allocations: 0.9758 MB / 1.304 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/1.448, allocations: 113.1 kB / 1.304 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/1.45, allocations: 1.232 MB / 1.306 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.45, allocations: 8.25 kB / 1.306 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.45, allocations: 2.031 kB / 1.306 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.45, allocations: 5.266 kB / 1.306 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/1.456, allocations: 3.8 MB / 1.309 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.456, allocations: 6.375 kB / 1.309 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/1.456, allocations: 156 kB / 1.31 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/1.457, allocations: 149.8 kB / 1.31 GB, free: 21.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/1.457, allocations: 15.8 kB / 1.31 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/1.457, allocations: 8.953 kB / 1.31 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.457, allocations: 3.625 kB / 1.31 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/1.459, allocations: 1.475 MB / 1.311 GB, free: 20.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.459, allocations: 272.5 kB / 1.311 GB, free: 20.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/1.46, allocations: 19.44 kB / 1.311 GB, free: 20.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/1.46, allocations: 62.48 kB / 1.311 GB, free: 20.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.46, allocations: 63.59 kB / 1.312 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/1.46, allocations: 23.31 kB / 1.312 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001042/1.461, allocations: 0.7 MB / 1.312 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.461, allocations: 0 / 1.312 GB, free: 19.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001696/1.463, allocations: 387.9 kB / 1.313 GB, free: 19.87 MB / 0.9981 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.0002039/1.463, allocations: 128.5 kB / 1.313 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002408/1.466, allocations: 1.655 MB / 1.314 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.466, allocations: 0 / 1.314 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/1.467, allocations: 0.8386 MB / 1.315 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.468, allocations: 262.5 kB / 1.315 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006564/1.475, allocations: 3.847 MB / 1.319 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/1.476, allocations: 1.922 MB / 1.321 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001294/1.478, allocations: 451.2 kB / 1.321 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/1.478, allocations: 83.75 kB / 1.322 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/1.478, allocations: 0 / 1.322 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.03028/1.508, allocations: 14.17 MB / 1.335 GB, free: 9.855 MB / 0.9981 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.053585816174746]