Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0009367/0.0009367, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009865/0.0009865, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.9669/0.9669, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.398e-05, allocations: 7.438 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004574/0.004598, allocations: 4.721 MB / 0.8174 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.007465, allocations: 1.696 MB / 0.8191 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.007891, allocations: 35.69 kB / 0.8191 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.008535, allocations: 207.2 kB / 0.8193 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.009295, allocations: 449.8 kB / 0.8197 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.01004, allocations: 379.7 kB / 0.8201 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.01109, allocations: 1.267 MB / 0.8213 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.01172, allocations: 0.5295 MB / 0.8218 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007387/0.01246, allocations: 0.6702 MB / 0.8225 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005858/0.01304, allocations: 0.4883 MB / 0.823 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.01312, allocations: 68 kB / 0.823 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.01337, allocations: 135.9 kB / 0.8232 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.01359, allocations: 331.7 kB / 0.8235 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.01384, allocations: 315.2 kB / 0.8238 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.0145, allocations: 0.7401 MB / 0.8245 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.0145, allocations: 0.5625 kB / 0.8245 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.0145, allocations: 0.7188 kB / 0.8245 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.01452, allocations: 0 / 0.8245 GB, free: 5.449 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001122/0.01564, allocations: 1.168 MB / 0.8256 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.01568, allocations: 12.03 kB / 0.8256 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007498/0.01643, allocations: 281.1 kB / 0.8259 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.017, allocations: 0.524 MB / 0.8264 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.01703, allocations: 49.67 kB / 0.8265 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.156e-05/0.0171, allocations: 69.39 kB / 0.8265 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.01782, allocations: 1.025 MB / 0.8275 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.01785, allocations: 8.125 kB / 0.8276 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.01789, allocations: 33.02 kB / 0.8276 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.01799, allocations: 89.17 kB / 0.8277 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.01831, allocations: 289.3 kB / 0.8279 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.02118, allocations: 5.587 MB / 0.8334 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.02158, allocations: 250.7 kB / 0.8336 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.02171, allocations: 120.2 kB / 0.8338 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.02174, allocations: 8.5 kB / 0.8338 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.02176, allocations: 41.89 kB / 0.8338 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 2.936e-06/0.02177, allocations: 0 / 0.8338 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001531/0.0233, allocations: 0.8961 MB / 0.8347 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.02333, allocations: 59.89 kB / 0.8347 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.02363, allocations: 0.5215 MB / 0.8352 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.02365, allocations: 33.7 kB / 0.8353 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.02385, allocations: 478.5 kB / 0.8357 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.02395, allocations: 186.4 kB / 0.8359 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.02407, allocations: 128.2 kB / 0.836 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.02421, allocations: 0.5507 MB / 0.8366 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.02432, allocations: 85.92 kB / 0.8366 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.02456, allocations: 408.6 kB / 0.837 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.02495, allocations: 0.5311 MB / 0.8376 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.02495, allocations: 0 / 0.8376 GB, free: 7.27 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000764/0.02572, allocations: 0.6754 MB / 0.8382 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.02573, allocations: 8 kB / 0.8382 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.02574, allocations: 8 kB / 0.8382 GB, free: 6.551 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/0.02643, allocations: 294.4 kB / 0.8385 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.02668, allocations: 119.8 kB / 0.8386 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.03028, allocations: 7.473 MB / 0.8459 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.0306, allocations: 27.98 kB / 0.846 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.03062, allocations: 23.94 kB / 0.846 GB, free: 14.15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.03081, allocations: 200.5 kB / 0.8462 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.03091, allocations: 87.52 kB / 0.8462 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.03153, allocations: 0.4946 MB / 0.8467 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.03153, allocations: 4 kB / 0.8467 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.03154, allocations: 11.94 kB / 0.8467 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.03154, allocations: 0 / 0.8467 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.0327, allocations: 1.01 MB / 0.8477 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.0327, allocations: 0 / 0.8477 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.03283, allocations: 43.92 kB / 0.8478 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/0.03345, allocations: 282.6 kB / 0.848 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.03348, allocations: 20.05 kB / 0.8481 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.03685, allocations: 7.458 MB / 0.8553 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.03685, allocations: 4 kB / 0.8554 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.03756, allocations: 0.6858 MB / 0.856 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.03772, allocations: 103.5 kB / 0.8561 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.03776, allocations: 15.97 kB / 0.8561 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.03793, allocations: 12 kB / 0.8561 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.03802, allocations: 43.86 kB / 0.8562 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.03804, allocations: 12 kB / 0.8562 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000183/0.03822, allocations: 322.7 kB / 0.8565 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03822, allocations: 3.938 kB / 0.8565 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006356/0.03886, allocations: 227.9 kB / 0.8567 GB, free: 2.488 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.03899, allocations: 111.2 kB / 0.8568 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.04, allocations: 1.139 MB / 0.8579 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.04, allocations: 0 / 0.8579 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.04061, allocations: 0.9454 MB / 0.8589 GB, free: 140 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.04121, allocations: 202.1 kB / 0.8591 GB, free: 15.95 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.04294, allocations: 1.26 MB / 0.8603 GB, free: 14.62 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.04311, allocations: 215.1 kB / 0.8605 GB, free: 14.39 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.04332, allocations: 73.48 kB / 0.8606 GB, free: 14.32 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.04363, allocations: 258 kB / 0.8608 GB, free: 14.06 MB / 0.823 GB Notification: Performance of SimCode: time 1.213e-06/0.04363, allocations: 0 / 0.8608 GB, free: 14.06 MB / 0.823 GB Notification: Performance of Templates: time 0.01479/0.05842, allocations: 12.3 MB / 0.8728 GB, free: 2.035 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.242755235172808]