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.001007/0.001007, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009365/0.0009365, allocations: 161 kB / 23.82 MB, free: 0.75 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.9221/0.9221, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.712/1.712, allocations: 359 MB / 0.6052 GB, free: 10.98 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 2.434e-06/2.434e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.787e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.008748/0.008776, allocations: 9.291 MB / 0.7962 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005295/0.01407, allocations: 2.826 MB / 0.7989 GB, free: 320 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.01502, allocations: 83.38 kB / 0.799 GB, free: 236 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009677/0.01599, allocations: 327.5 kB / 0.7993 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.01719, allocations: 0.6621 MB / 0.8 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.01837, allocations: 0.641 MB / 0.8006 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003112/0.02149, allocations: 3.609 MB / 0.8041 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.02432, allocations: 2.439 MB / 0.8065 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.02723, allocations: 2.267 MB / 0.8087 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.02967, allocations: 1.798 MB / 0.8105 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007287/0.0304, allocations: 340 kB / 0.8108 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008776/0.03127, allocations: 467.7 kB / 0.8113 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.03237, allocations: 1.438 MB / 0.8127 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.03368, allocations: 1.026 MB / 0.8137 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.03601, allocations: 2.677 MB / 0.8163 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03602, allocations: 1.719 kB / 0.8163 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03602, allocations: 0 / 0.8163 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.663e-05/0.03609, allocations: 0 / 0.8163 GB, free: 14.47 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.003181/0.03928, allocations: 2.804 MB / 0.819 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.03932, allocations: 8.031 kB / 0.819 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.04167, allocations: 1.211 MB / 0.8202 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.04321, allocations: 1.425 MB / 0.8216 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-05/0.0433, allocations: 178.3 kB / 0.8218 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.04354, allocations: 232.3 kB / 0.822 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.04637, allocations: 2.324 MB / 0.8243 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.04641, allocations: 4.125 kB / 0.8243 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.04658, allocations: 104.3 kB / 0.8244 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.04671, allocations: 173.6 kB / 0.8245 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.04856, allocations: 0.9854 MB / 0.8255 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/0.05716, allocations: 10.76 MB / 0.836 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.05862, allocations: 1.049 MB / 0.837 GB, free: 8.562 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.05895, allocations: 216.9 kB / 0.8372 GB, free: 8.34 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.05902, allocations: 28.58 kB / 0.8373 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.05905, allocations: 49.92 kB / 0.8373 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=72): time 2.986e-06/0.05905, allocations: 0 / 0.8373 GB, free: 8.254 MB / 0.7917 GB Notification: Performance of matching and sorting (n=76): time 0.002364/0.06142, allocations: 2.006 MB / 0.8393 GB, free: 6.223 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.06146, allocations: 111.5 kB / 0.8394 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/0.06221, allocations: 0.9406 MB / 0.8403 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.06224, allocations: 45.7 kB / 0.8403 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.06275, allocations: 1.207 MB / 0.8415 GB, free: 3.844 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.06291, allocations: 289.6 kB / 0.8418 GB, free: 3.559 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.06318, allocations: 297 kB / 0.8421 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003396/0.06352, allocations: 0.6172 MB / 0.8427 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.06381, allocations: 191.8 kB / 0.8429 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.06444, allocations: 1.029 MB / 0.8439 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.06547, allocations: 1.317 MB / 0.8451 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.06548, allocations: 4 kB / 0.8451 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001374/0.06686, allocations: 1.202 MB / 0.8463 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.06688, allocations: 12 kB / 0.8463 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.0669, allocations: 20.91 kB / 0.8464 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.06712, allocations: 114.7 kB / 0.8465 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.06774, allocations: 351.3 kB / 0.8468 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.06777, allocations: 39.86 kB / 0.8468 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.06822, allocations: 119.8 kB / 0.8469 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.06828, allocations: 68 kB / 0.847 GB, free: 13.42 MB / 0.8073 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.0003072/0.06859, allocations: 252 kB / 0.8473 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.06873, allocations: 143.3 kB / 0.8474 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008094/0.06954, allocations: 0.6305 MB / 0.848 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.06955, allocations: 12 kB / 0.848 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.06956, allocations: 0 / 0.848 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.06956, allocations: 3.984 kB / 0.848 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.07227, allocations: 2.396 MB / 0.8504 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.07227, allocations: 8.031 kB / 0.8504 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.07258, allocations: 159.8 kB / 0.8505 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.07275, allocations: 82.69 kB / 0.8506 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.07278, allocations: 16 kB / 0.8506 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.07278, allocations: 7.938 kB / 0.8506 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.07279, allocations: 4 kB / 0.8506 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.07364, allocations: 1.066 MB / 0.8517 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.07385, allocations: 195.1 kB / 0.8519 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.07393, allocations: 16 kB / 0.8519 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.0742, allocations: 63.91 kB / 0.8519 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.0743, allocations: 56.55 kB / 0.852 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.07433, allocations: 23.94 kB / 0.852 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004343/0.07476, allocations: 0.5153 MB / 0.8525 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.3e-07/0.07476, allocations: 0 / 0.8525 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007727/0.07553, allocations: 388 kB / 0.8529 GB, free: 7.168 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.000177/0.07571, allocations: 131 kB / 0.853 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009397/0.07665, allocations: 0.753 MB / 0.8537 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.07665, allocations: 0 / 0.8537 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.07698, allocations: 313.2 kB / 0.854 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.0778, allocations: 267.5 kB / 0.8543 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.08179, allocations: 3.314 MB / 0.8575 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.08224, allocations: 0.575 MB / 0.8581 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005931/0.08283, allocations: 373.3 kB / 0.8584 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.083, allocations: 84.48 kB / 0.8585 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of SimCode: time 1.372e-06/0.083, allocations: 0 / 0.8585 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of Templates: time 0.01819/0.1012, allocations: 13.42 MB / 0.8716 GB, free: 4.094 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.099273644387722]