Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001383/0.001383, allocations: 83.59 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.001443/0.001443, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9712/0.9712, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.762/1.762, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.915e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003677/0.003696, allocations: 4.102 MB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.005532, allocations: 1.511 MB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.00572, allocations: 35.69 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.006174, allocations: 178.7 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.006615, allocations: 369 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.007029, allocations: 317.3 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.00771, allocations: 0.9902 MB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.008121, allocations: 375.3 kB / 0.8192 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.008579, allocations: 0.5196 MB / 0.8197 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.008964, allocations: 386.9 kB / 0.8201 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.009017, allocations: 48.81 kB / 0.8201 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.009189, allocations: 127.8 kB / 0.8202 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.009408, allocations: 264.2 kB / 0.8205 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.009572, allocations: 239.4 kB / 0.8207 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.01004, allocations: 0.5916 MB / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01004, allocations: 1.219 kB / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.22e-07/0.01004, allocations: 0 / 0.8213 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.01005, allocations: 0 / 0.8213 GB, free: 7.727 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0008901/0.01094, allocations: 0.989 MB / 0.8223 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.01097, allocations: 8.031 kB / 0.8223 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.01165, allocations: 271.1 kB / 0.8225 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.01213, allocations: 473.1 kB / 0.823 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.01216, allocations: 37.38 kB / 0.823 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.01226, allocations: 57.59 kB / 0.8231 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.01291, allocations: 0.7903 MB / 0.8239 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.01292, allocations: 8.172 kB / 0.8239 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.01296, allocations: 24.78 kB / 0.8239 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.01307, allocations: 72.88 kB / 0.824 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.01341, allocations: 276.5 kB / 0.8242 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.01588, allocations: 4.421 MB / 0.8285 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.01612, allocations: 156.3 kB / 0.8287 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.01623, allocations: 96.2 kB / 0.8288 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01626, allocations: 9.406 kB / 0.8288 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.01628, allocations: 45.61 kB / 0.8288 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.01628, allocations: 0 / 0.8288 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.002464/0.01874, allocations: 1.579 MB / 0.8304 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.01877, allocations: 55.41 kB / 0.8304 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.01904, allocations: 458.4 kB / 0.8309 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.01907, allocations: 37.7 kB / 0.8309 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.01923, allocations: 399.1 kB / 0.8313 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/0.0193, allocations: 154.7 kB / 0.8314 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.01941, allocations: 108 kB / 0.8315 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01954, allocations: 0.5352 MB / 0.8321 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.01968, allocations: 101.2 kB / 0.8321 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.01991, allocations: 347.3 kB / 0.8325 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.0203, allocations: 482.1 kB / 0.8329 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02031, allocations: 4 kB / 0.8329 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007706/0.02108, allocations: 0.6366 MB / 0.8336 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.02109, allocations: 8 kB / 0.8336 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.0211, allocations: 4 kB / 0.8336 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.02167, allocations: 231.3 kB / 0.8338 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.02191, allocations: 115.8 kB / 0.8339 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.0246, allocations: 5.659 MB / 0.8394 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.02478, allocations: 35.95 kB / 0.8395 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.02481, allocations: 32 kB / 0.8395 GB, free: 4.004 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001236/0.02493, allocations: 188.4 kB / 0.8397 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.025, allocations: 67.67 kB / 0.8397 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006483/0.02565, allocations: 0.5002 MB / 0.8402 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02565, allocations: 4.141 kB / 0.8402 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.02565, allocations: 7.984 kB / 0.8402 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.02566, allocations: 0 / 0.8402 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.02682, allocations: 1.065 MB / 0.8413 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02683, allocations: 0 / 0.8413 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.02699, allocations: 67.89 kB / 0.8413 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.02747, allocations: 223 kB / 0.8416 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.02749, allocations: 12 kB / 0.8416 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003017/0.03051, allocations: 5.651 MB / 0.8471 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.03051, allocations: 4 kB / 0.8471 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.0315, allocations: 0.7498 MB / 0.8478 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.03164, allocations: 87.62 kB / 0.8479 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.03169, allocations: 19.92 kB / 0.8479 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.0319, allocations: 24.16 kB / 0.848 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.03199, allocations: 39.88 kB / 0.848 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.03201, allocations: 20.03 kB / 0.848 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002815/0.03229, allocations: 287 kB / 0.8483 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.03229, allocations: 0 / 0.8483 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005345/0.03283, allocations: 176 kB / 0.8484 GB, free: 10.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.03294, allocations: 111.3 kB / 0.8486 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009841/0.03392, allocations: 0.9367 MB / 0.8495 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03393, allocations: 0 / 0.8495 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.03451, allocations: 0.7392 MB / 0.8502 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.03515, allocations: 176.9 kB / 0.8504 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.03678, allocations: 1.144 MB / 0.8515 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.03692, allocations: 178.5 kB / 0.8516 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.03714, allocations: 88.77 kB / 0.8517 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.03723, allocations: 40.5 kB / 0.8518 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of SimCode: time 7.02e-07/0.03723, allocations: 0 / 0.8518 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of Templates: time 0.0131/0.05033, allocations: 9.657 MB / 0.8612 GB, free: 13.23 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.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.094891274813563]