Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001377/0.001377, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001797/0.001797, allocations: 161 kB / 24.17 MB, free: 332 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.936/0.936, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.747e-05, allocations: 2.312 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01159/0.01161, allocations: 9.058 MB / 0.7689 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.01641, allocations: 2.905 MB / 0.7717 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.01711, allocations: 83.38 kB / 0.7718 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.01785, allocations: 330.4 kB / 0.7721 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009912/0.01884, allocations: 0.666 MB / 0.7727 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.01978, allocations: 0.6414 MB / 0.7734 GB, free: 9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002832/0.02261, allocations: 3.611 MB / 0.7769 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.02494, allocations: 2.614 MB / 0.7794 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.02731, allocations: 2.264 MB / 0.7817 GB, free: 424 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.02888, allocations: 1.727 MB / 0.7833 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.02927, allocations: 340 kB / 0.7837 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.02979, allocations: 467.6 kB / 0.7841 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007985/0.03059, allocations: 1.448 MB / 0.7855 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007729/0.03137, allocations: 1.021 MB / 0.7865 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.03314, allocations: 2.676 MB / 0.7891 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.03315, allocations: 0 / 0.7891 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.03315, allocations: 0 / 0.7891 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.03317, allocations: 4.938 kB / 0.7891 GB, free: 8.734 MB / 0.7448 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.002267/0.03544, allocations: 2.452 MB / 0.7915 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.03547, allocations: 8.031 kB / 0.7915 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.03724, allocations: 0.825 MB / 0.7924 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.03842, allocations: 1.169 MB / 0.7935 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.03851, allocations: 183.4 kB / 0.7937 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.03875, allocations: 236.3 kB / 0.7939 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.04099, allocations: 2.126 MB / 0.796 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.04102, allocations: 192 / 0.796 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.04119, allocations: 104.3 kB / 0.7961 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.04132, allocations: 176.5 kB / 0.7962 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.04231, allocations: 0.6688 MB / 0.7969 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007398/0.04971, allocations: 8.211 MB / 0.8049 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.05069, allocations: 0.6922 MB / 0.8056 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.05091, allocations: 173.4 kB / 0.8058 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.05098, allocations: 21.41 kB / 0.8058 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.051, allocations: 43.16 kB / 0.8058 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.051, allocations: 1.062 kB / 0.8058 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76): time 0.001306/0.05231, allocations: 0.9468 MB / 0.8067 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.05235, allocations: 116.1 kB / 0.8069 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.05281, allocations: 0.7493 MB / 0.8076 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.05284, allocations: 42.33 kB / 0.8076 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.05322, allocations: 1.059 MB / 0.8087 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.05335, allocations: 281.6 kB / 0.8089 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.05382, allocations: 259.3 kB / 0.8092 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.05393, allocations: 418.5 kB / 0.8096 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.05409, allocations: 132.9 kB / 0.8097 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.05449, allocations: 0.6974 MB / 0.8104 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/0.05525, allocations: 0.9795 MB / 0.8113 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.05526, allocations: 4 kB / 0.8113 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0009007/0.05616, allocations: 0.8996 MB / 0.8122 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.05618, allocations: 12.56 kB / 0.8122 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.05619, allocations: 21.25 kB / 0.8123 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.05637, allocations: 106.7 kB / 0.8124 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.0569, allocations: 309 kB / 0.8126 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.05693, allocations: 43.8 kB / 0.8127 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.05729, allocations: 61.12 kB / 0.8127 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.05735, allocations: 60.61 kB / 0.8128 GB, free: 15.29 MB / 0.7761 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.0002645/0.05762, allocations: 205.5 kB / 0.813 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.05773, allocations: 92.53 kB / 0.8131 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/0.05837, allocations: 0.5088 MB / 0.8136 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.05838, allocations: 8 kB / 0.8136 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.05838, allocations: 4 kB / 0.8136 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.05839, allocations: 5.234 kB / 0.8136 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.06021, allocations: 1.764 MB / 0.8153 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.06021, allocations: 5.344 kB / 0.8153 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.06048, allocations: 123.8 kB / 0.8155 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.06062, allocations: 84.48 kB / 0.8155 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.06065, allocations: 19.98 kB / 0.8155 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.06066, allocations: 7.938 kB / 0.8156 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.06066, allocations: 4 kB / 0.8156 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.06124, allocations: 0.876 MB / 0.8164 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.06142, allocations: 143.3 kB / 0.8166 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.0615, allocations: 20.72 kB / 0.8166 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.06172, allocations: 24 kB / 0.8166 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.06179, allocations: 53.17 kB / 0.8166 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.06182, allocations: 20 kB / 0.8167 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002543/0.06207, allocations: 343.2 kB / 0.817 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.41e-07/0.06207, allocations: 0 / 0.817 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006845/0.06276, allocations: 395.9 kB / 0.8174 GB, free: 10.41 MB / 0.7761 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.0001458/0.0629, allocations: 107.8 kB / 0.8175 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006244/0.06353, allocations: 0.6055 MB / 0.8181 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-05/0.06355, allocations: 17.81 kB / 0.8181 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.06379, allocations: 246.2 kB / 0.8183 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.06452, allocations: 272 kB / 0.8186 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.06783, allocations: 3.447 MB / 0.8219 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.06824, allocations: 0.5633 MB / 0.8225 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00034/0.06858, allocations: 169.2 kB / 0.8227 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.06894, allocations: 273.1 kB / 0.8229 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.06894, allocations: 0 / 0.8229 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of Templates: time 0.01817/0.08711, allocations: 13.72 MB / 0.8363 GB, free: 7.227 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.265790266916156]