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.001339/0.001339, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001459/0.001459, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.8974/0.8974, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.744/1.744, allocations: 359 MB / 0.6055 GB, free: 11.03 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.503e-06/1.503e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.816e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01223/0.01224, allocations: 16.22 MB / 0.8029 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005504/0.01775, allocations: 4.919 MB / 0.8077 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.01823, allocations: 83.38 kB / 0.8078 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.01968, allocations: 1.081 MB / 0.8089 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0009464/0.02063, allocations: 0.8059 MB / 0.8097 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.0218, allocations: 0.9334 MB / 0.8106 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.02402, allocations: 3.676 MB / 0.8142 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.02629, allocations: 2.447 MB / 0.8166 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.02803, allocations: 2.297 MB / 0.8188 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.02943, allocations: 1.775 MB / 0.8205 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.02971, allocations: 340 kB / 0.8209 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009606/0.03067, allocations: 0.7574 MB / 0.8216 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007953/0.03146, allocations: 1.446 MB / 0.823 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.03222, allocations: 1.029 MB / 0.824 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.03415, allocations: 2.872 MB / 0.8268 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.03415, allocations: 0 / 0.8268 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.03415, allocations: 0.9375 kB / 0.8268 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.319e-05/0.03417, allocations: 0 / 0.8268 GB, free: 4.047 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.002774/0.03695, allocations: 2.843 MB / 0.8296 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.03699, allocations: 12.03 kB / 0.8296 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.03961, allocations: 1.237 MB / 0.8308 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.0411, allocations: 1.448 MB / 0.8322 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.463e-05/0.04119, allocations: 177.1 kB / 0.8324 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.04142, allocations: 240.3 kB / 0.8326 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.04409, allocations: 2.319 MB / 0.8349 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.04413, allocations: 8.125 kB / 0.8349 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.04429, allocations: 100.4 kB / 0.835 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.04442, allocations: 176.5 kB / 0.8352 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.04632, allocations: 0.9791 MB / 0.8361 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007851/0.05417, allocations: 10.77 MB / 0.8466 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.0556, allocations: 1.049 MB / 0.8477 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.05591, allocations: 220.9 kB / 0.8479 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.05598, allocations: 20.64 kB / 0.8479 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.05601, allocations: 53.8 kB / 0.8479 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.05601, allocations: 0 / 0.8479 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.002396/0.0584, allocations: 2.006 MB / 0.8499 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.05845, allocations: 115.5 kB / 0.85 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.05917, allocations: 0.9404 MB / 0.8509 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.0592, allocations: 33.7 kB / 0.851 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.05969, allocations: 1.207 MB / 0.8521 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.05985, allocations: 301.7 kB / 0.8524 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.06011, allocations: 297 kB / 0.8527 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.06032, allocations: 0.6133 MB / 0.8533 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.06061, allocations: 191.9 kB / 0.8535 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.06124, allocations: 1.021 MB / 0.8545 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.06236, allocations: 1.313 MB / 0.8558 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.06237, allocations: 8 kB / 0.8558 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001366/0.06373, allocations: 1.206 MB / 0.857 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.06376, allocations: 14.03 kB / 0.857 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.06378, allocations: 20 kB / 0.857 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.064, allocations: 115.2 kB / 0.8571 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.0646, allocations: 347.4 kB / 0.8574 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.06462, allocations: 35.86 kB / 0.8575 GB, free: 3.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.06508, allocations: 127.8 kB / 0.8576 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.06515, allocations: 64 kB / 0.8576 GB, free: 2.879 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.0003091/0.06545, allocations: 260 kB / 0.8579 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.0656, allocations: 131.3 kB / 0.858 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008126/0.06641, allocations: 0.6344 MB / 0.8586 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.06642, allocations: 12 kB / 0.8586 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.06642, allocations: 4 kB / 0.8587 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.06643, allocations: 3.984 kB / 0.8587 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.06894, allocations: 2.395 MB / 0.861 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.06894, allocations: 0 / 0.861 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.06925, allocations: 160 kB / 0.8611 GB, free: 15.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.0694, allocations: 90.62 kB / 0.8612 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.06943, allocations: 20 kB / 0.8613 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.06944, allocations: 4 kB / 0.8613 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.06944, allocations: 7.984 kB / 0.8613 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.07025, allocations: 1.058 MB / 0.8623 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.07046, allocations: 187.2 kB / 0.8625 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.07054, allocations: 16 kB / 0.8625 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.07082, allocations: 67.91 kB / 0.8626 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.07106, allocations: 64.42 kB / 0.8626 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.07109, allocations: 24 kB / 0.8626 GB, free: 13.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004108/0.0715, allocations: 0.5114 MB / 0.8631 GB, free: 13 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.0715, allocations: 0 / 0.8631 GB, free: 13 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007349/0.07223, allocations: 388 kB / 0.8635 GB, free: 12.62 MB / 0.823 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.000165/0.0724, allocations: 139 kB / 0.8636 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008648/0.07326, allocations: 0.7372 MB / 0.8644 GB, free: 11.72 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.07326, allocations: 0 / 0.8644 GB, free: 11.72 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.07358, allocations: 309.8 kB / 0.8647 GB, free: 11.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.07439, allocations: 274.2 kB / 0.8649 GB, free: 11.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.07769, allocations: 3.314 MB / 0.8682 GB, free: 7.734 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.0781, allocations: 0.575 MB / 0.8687 GB, free: 7.133 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.07863, allocations: 377.2 kB / 0.8691 GB, free: 6.762 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.07878, allocations: 84.5 kB / 0.8692 GB, free: 6.68 MB / 0.823 GB Notification: Performance of SimCode: time 1.293e-06/0.07878, allocations: 0 / 0.8692 GB, free: 6.68 MB / 0.823 GB Notification: Performance of Templates: time 0.0161/0.09488, allocations: 12.78 MB / 0.8816 GB, free: 10.2 MB / 0.8386 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.091776004992425]