Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001014/0.001014, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001086/0.001086, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.378/2.378, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 4 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.168e-05, allocations: 8.703 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009481/0.009503, allocations: 11.61 MB / 0.85 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006265/0.01577, allocations: 3.709 MB / 0.8536 GB, free: 14.75 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009748/0.01674, allocations: 111.2 kB / 0.8537 GB, free: 14.64 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009675/0.01771, allocations: 0.4886 MB / 0.8542 GB, free: 14.15 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.01932, allocations: 1.107 MB / 0.8553 GB, free: 13.04 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.02079, allocations: 1.022 MB / 0.8563 GB, free: 12.02 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003464/0.02425, allocations: 4.872 MB / 0.861 GB, free: 7.129 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.02674, allocations: 3.326 MB / 0.8643 GB, free: 3.723 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.02917, allocations: 2.998 MB / 0.8672 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.03107, allocations: 2.292 MB / 0.8694 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.03143, allocations: 428 kB / 0.8699 GB, free: 14 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.03202, allocations: 0.5114 MB / 0.8704 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.03325, allocations: 1.808 MB / 0.8721 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000936/0.03419, allocations: 1.353 MB / 0.8734 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.03642, allocations: 3.343 MB / 0.8767 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.03643, allocations: 4 kB / 0.8767 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.03643, allocations: 0 / 0.8767 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.981e-05/0.03646, allocations: 0 / 0.8767 GB, free: 6.969 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003486/0.03994, allocations: 3.226 MB / 0.8799 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.03997, allocations: 8.625 kB / 0.8799 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.04183, allocations: 0.8196 MB / 0.8807 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.04346, allocations: 1.554 MB / 0.8822 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.04356, allocations: 218.3 kB / 0.8824 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.04386, allocations: 304.3 kB / 0.8827 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.04691, allocations: 2.865 MB / 0.8855 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.04697, allocations: 24 kB / 0.8855 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.04716, allocations: 127.9 kB / 0.8856 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/0.04738, allocations: 217.8 kB / 0.8858 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.04849, allocations: 0.789 MB / 0.8866 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007602/0.0561, allocations: 10.39 MB / 0.8968 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.05661, allocations: 0.5324 MB / 0.8973 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.05699, allocations: 331.6 kB / 0.8976 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.05703, allocations: 21 kB / 0.8976 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.05706, allocations: 47.56 kB / 0.8977 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 2.735e-06/0.05707, allocations: 0 / 0.8977 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.007555/0.06462, allocations: 3.923 MB / 0.9015 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.06465, allocations: 64.41 kB / 0.9016 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.06519, allocations: 0.892 MB / 0.9024 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.06524, allocations: 45.64 kB / 0.9025 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.06568, allocations: 1.195 MB / 0.9036 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.06586, allocations: 396.5 kB / 0.904 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.06608, allocations: 239.4 kB / 0.9042 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.06618, allocations: 365.8 kB / 0.9046 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.06638, allocations: 155.9 kB / 0.9047 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.06675, allocations: 0.5488 MB / 0.9053 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.06756, allocations: 0.8407 MB / 0.9061 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.06757, allocations: 4 kB / 0.9061 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001424/0.06899, allocations: 1.154 MB / 0.9072 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.06901, allocations: 12 kB / 0.9072 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.06903, allocations: 12 kB / 0.9072 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.0702, allocations: 0.5807 MB / 0.9078 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.07066, allocations: 235.6 kB / 0.908 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.07469, allocations: 4.601 MB / 0.9125 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.07505, allocations: 39.94 kB / 0.9126 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.07511, allocations: 48 kB / 0.9126 GB, free: 0.8164 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004389/0.07555, allocations: 200.3 kB / 0.9128 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.07569, allocations: 123.9 kB / 0.9129 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.07711, allocations: 0.9919 MB / 0.9139 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.07712, allocations: 12 kB / 0.9139 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.07712, allocations: 8 kB / 0.9139 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.07713, allocations: 3.984 kB / 0.9139 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.07978, allocations: 2.183 MB / 0.916 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.07979, allocations: 7.984 kB / 0.9161 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.08006, allocations: 111.8 kB / 0.9162 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.08115, allocations: 0.5639 MB / 0.9167 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.0812, allocations: 28.12 kB / 0.9167 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.08539, allocations: 4.596 MB / 0.9212 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.08539, allocations: 4 kB / 0.9212 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.08665, allocations: 1.131 MB / 0.9223 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.08692, allocations: 215 kB / 0.9225 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.042e-05/0.08701, allocations: 27.95 kB / 0.9226 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.08727, allocations: 24 kB / 0.9226 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.08743, allocations: 100.7 kB / 0.9227 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.08747, allocations: 24 kB / 0.9227 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003055/0.08777, allocations: 430 kB / 0.9231 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.08777, allocations: 0 / 0.9231 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001083/0.08886, allocations: 0.5898 MB / 0.9237 GB, free: 5.102 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.08901, allocations: 120.2 kB / 0.9238 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.09034, allocations: 1.259 MB / 0.925 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/0.09036, allocations: 17.81 kB / 0.9251 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.09119, allocations: 0.9224 MB / 0.926 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.09213, allocations: 475.1 kB / 0.9264 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.09702, allocations: 4.644 MB / 0.9309 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.09762, allocations: 0.7541 MB / 0.9317 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004127/0.09804, allocations: 176.5 kB / 0.9319 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/0.09863, allocations: 387.1 kB / 0.9322 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of SimCode: time 9.72e-07/0.09863, allocations: 0 / 0.9322 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.03558/0.1342, allocations: 29.36 MB / 0.9609 GB, free: 15.43 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.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.7897970150224864]