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.0009583/0.0009583, allocations: 80.39 kB / 21.47 MB, free: 3.035 MB / 18.57 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.001444/0.001444, allocations: 169.9 kB / 24.87 MB, free: 9.273 MB / 18.57 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 0.8879/0.8879, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+.|sen.I.[0-9,]+.",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.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.302e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.006868/0.006881, allocations: 9.06 MB / 0.7971 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003328/0.01021, allocations: 2.812 MB / 0.7999 GB, free: 328 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.01063, allocations: 83.38 kB / 0.8 GB, free: 244 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.01126, allocations: 326.4 kB / 0.8003 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.01198, allocations: 0.6737 MB / 0.8009 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.01269, allocations: 0.6418 MB / 0.8016 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.01476, allocations: 3.601 MB / 0.8051 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.01669, allocations: 2.443 MB / 0.8075 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.01826, allocations: 2.267 MB / 0.8097 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.01967, allocations: 1.79 MB / 0.8114 GB, free: 4.422 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.01994, allocations: 344 kB / 0.8118 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.02043, allocations: 477 kB / 0.8122 GB, free: 3.621 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007794/0.02121, allocations: 1.43 MB / 0.8136 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.02196, allocations: 1.029 MB / 0.8146 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.02367, allocations: 2.682 MB / 0.8172 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.02367, allocations: 0 / 0.8172 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.02367, allocations: 0 / 0.8172 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.02369, allocations: 0 / 0.8172 GB, free: 14.46 MB / 0.7761 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.002518/0.02621, allocations: 2.794 MB / 0.82 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.02624, allocations: 8.031 kB / 0.82 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.0281, allocations: 0.8926 MB / 0.8208 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.02933, allocations: 1.278 MB / 0.8221 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.058e-05/0.02942, allocations: 177.1 kB / 0.8223 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.02968, allocations: 236.4 kB / 0.8225 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.0318, allocations: 2.14 MB / 0.8246 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.03184, allocations: 4.188 kB / 0.8246 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.032, allocations: 100.3 kB / 0.8247 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.03215, allocations: 181.5 kB / 0.8249 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.03325, allocations: 0.7719 MB / 0.8256 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007168/0.04042, allocations: 10.53 MB / 0.8359 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.04142, allocations: 0.7058 MB / 0.8366 GB, free: 10 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.04165, allocations: 196.9 kB / 0.8368 GB, free: 9.797 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.04171, allocations: 20.66 kB / 0.8368 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.04173, allocations: 45.98 kB / 0.8368 GB, free: 9.723 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=72): time 2.144e-06/0.04174, allocations: 4 kB / 0.8368 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of matching and sorting (n=76): time 0.001632/0.04337, allocations: 1.076 MB / 0.8379 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.04341, allocations: 123.4 kB / 0.838 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.04404, allocations: 0.9243 MB / 0.8389 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.04408, allocations: 37.7 kB / 0.8389 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.04455, allocations: 1.215 MB / 0.8401 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.0447, allocations: 301.5 kB / 0.8404 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.04494, allocations: 297 kB / 0.8407 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.04514, allocations: 0.6248 MB / 0.8413 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.04532, allocations: 147.9 kB / 0.8414 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.04585, allocations: 0.9896 MB / 0.8424 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.04664, allocations: 1.243 MB / 0.8436 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.04665, allocations: 4 kB / 0.8436 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001129/0.04777, allocations: 1.109 MB / 0.8447 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.04779, allocations: 12 kB / 0.8447 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.04781, allocations: 20 kB / 0.8447 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.048, allocations: 114.6 kB / 0.8449 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.04858, allocations: 307.4 kB / 0.8451 GB, free: 328 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.0486, allocations: 39.86 kB / 0.8452 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.04898, allocations: 71.92 kB / 0.8453 GB, free: 216 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.04904, allocations: 59.98 kB / 0.8453 GB, free: 156 kB / 0.7917 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.0002747/0.04931, allocations: 248 kB / 0.8455 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.04946, allocations: 131.3 kB / 0.8457 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.05013, allocations: 0.5837 MB / 0.8462 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.05013, allocations: 8 kB / 0.8463 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.05014, allocations: 0 / 0.8463 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.05014, allocations: 3.984 kB / 0.8463 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.05204, allocations: 1.861 MB / 0.8481 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.05204, allocations: 4 kB / 0.8481 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.05231, allocations: 119.8 kB / 0.8482 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.05246, allocations: 86.61 kB / 0.8483 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.05249, allocations: 20 kB / 0.8483 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.05249, allocations: 8.25 kB / 0.8483 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.05249, allocations: 4 kB / 0.8483 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.05316, allocations: 1.015 MB / 0.8493 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.05335, allocations: 171.2 kB / 0.8495 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.05343, allocations: 23.98 kB / 0.8495 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.05367, allocations: 20 kB / 0.8495 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.05375, allocations: 60.48 kB / 0.8496 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.05377, allocations: 16 kB / 0.8496 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002988/0.05407, allocations: 495.5 kB / 0.85 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.05407, allocations: 4 kB / 0.85 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007077/0.05478, allocations: 395.9 kB / 0.8504 GB, free: 10.68 MB / 0.8073 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.000151/0.05493, allocations: 127.1 kB / 0.8505 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006756/0.0556, allocations: 0.6822 MB / 0.8512 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.05561, allocations: 0 / 0.8512 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.05586, allocations: 280.8 kB / 0.8515 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.05664, allocations: 282.4 kB / 0.8518 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.0596, allocations: 3.295 MB / 0.855 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.06, allocations: 0.575 MB / 0.8555 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.06032, allocations: 165.7 kB / 0.8557 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.06069, allocations: 314 kB / 0.856 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of SimCode: time 8.81e-07/0.06069, allocations: 0 / 0.856 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of Templates: time 0.01765/0.07834, allocations: 14.02 MB / 0.8697 GB, free: 7.113 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03985718684271]