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.00139/0.00139, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001627/0.001627, allocations: 185.3 kB / 24.09 MB, free: 420 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.9149/0.9149, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.902/1.902, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.633e-06/1.633e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.246e-05, allocations: 6.25 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003986/0.004009, allocations: 4.046 MB / 0.816 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.006153, allocations: 1.506 MB / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.006378, allocations: 31.75 kB / 0.8175 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.006857, allocations: 175.5 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.00734, allocations: 373.3 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.007775, allocations: 325 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.008449, allocations: 0.9791 MB / 0.8192 GB, free: 10 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.00882, allocations: 378.5 kB / 0.8196 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.009307, allocations: 0.5193 MB / 0.8201 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.009713, allocations: 383.7 kB / 0.8205 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.009764, allocations: 50.12 kB / 0.8205 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.01022, allocations: 135.8 kB / 0.8207 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.01038, allocations: 263.2 kB / 0.8209 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.01053, allocations: 235.4 kB / 0.8211 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.01101, allocations: 0.5955 MB / 0.8217 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01102, allocations: 0 / 0.8217 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01102, allocations: 0.5312 kB / 0.8217 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.01102, allocations: 0.7188 kB / 0.8217 GB, free: 7.473 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.0008366/0.01186, allocations: 0.9839 MB / 0.8227 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.0119, allocations: 12.03 kB / 0.8227 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/0.01255, allocations: 245.4 kB / 0.8229 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.01301, allocations: 453.7 kB / 0.8234 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.01304, allocations: 41.36 kB / 0.8234 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.01314, allocations: 60.48 kB / 0.8234 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.01368, allocations: 0.7511 MB / 0.8242 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01369, allocations: 12.11 kB / 0.8242 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.01373, allocations: 28.12 kB / 0.8242 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.01383, allocations: 56.95 kB / 0.8243 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.01407, allocations: 229.5 kB / 0.8245 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.01666, allocations: 4.284 MB / 0.8287 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.01684, allocations: 143.7 kB / 0.8288 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.01693, allocations: 76.22 kB / 0.8289 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.01695, allocations: 8.281 kB / 0.8289 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01698, allocations: 45.55 kB / 0.8289 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.01698, allocations: 0 / 0.8289 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.00213/0.01911, allocations: 1.36 MB / 0.8303 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.01913, allocations: 55.41 kB / 0.8303 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.01937, allocations: 446.2 kB / 0.8307 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.0194, allocations: 37.7 kB / 0.8308 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.01956, allocations: 403 kB / 0.8312 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.01964, allocations: 158.7 kB / 0.8313 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01974, allocations: 111.8 kB / 0.8314 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01988, allocations: 0.539 MB / 0.832 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.01997, allocations: 77.25 kB / 0.832 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.02017, allocations: 323.3 kB / 0.8323 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.02049, allocations: 434.1 kB / 0.8327 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02049, allocations: 7.938 kB / 0.8328 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006662/0.02116, allocations: 0.5824 MB / 0.8333 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.02117, allocations: 8 kB / 0.8333 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.02118, allocations: 4 kB / 0.8333 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.02169, allocations: 218.9 kB / 0.8335 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.02191, allocations: 107.8 kB / 0.8336 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.0247, allocations: 5.551 MB / 0.8391 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.0249, allocations: 20.06 kB / 0.8391 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.02492, allocations: 23.98 kB / 0.8391 GB, free: 4.602 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.0001461/0.02506, allocations: 188.4 kB / 0.8393 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.02513, allocations: 75.75 kB / 0.8394 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.02568, allocations: 464.2 kB / 0.8398 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.02569, allocations: 4 kB / 0.8398 GB, free: 3.855 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.02569, allocations: 4 kB / 0.8398 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.0257, allocations: 3.984 kB / 0.8398 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.02671, allocations: 0.9313 MB / 0.8407 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.02671, allocations: 0 / 0.8407 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.02686, allocations: 55.91 kB / 0.8408 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.02732, allocations: 211.1 kB / 0.841 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.02734, allocations: 8 kB / 0.841 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.02989, allocations: 5.551 MB / 0.8464 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.02989, allocations: 8 kB / 0.8464 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.03057, allocations: 0.687 MB / 0.8471 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.03072, allocations: 83.56 kB / 0.8472 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.03078, allocations: 16 kB / 0.8472 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.03097, allocations: 8 kB / 0.8472 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.03102, allocations: 44.03 kB / 0.8472 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.03104, allocations: 15.98 kB / 0.8472 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001439/0.03119, allocations: 274.9 kB / 0.8475 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.03119, allocations: 0 / 0.8475 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00046/0.03165, allocations: 172 kB / 0.8477 GB, free: 11.3 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.0001369/0.03178, allocations: 107.2 kB / 0.8478 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.03278, allocations: 0.8886 MB / 0.8486 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.03279, allocations: 4 kB / 0.8486 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.03321, allocations: 0.7223 MB / 0.8494 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.03369, allocations: 164.2 kB / 0.8495 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.03505, allocations: 1.138 MB / 0.8506 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.03516, allocations: 182.5 kB / 0.8508 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.0353, allocations: 64.75 kB / 0.8509 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.03555, allocations: 210.1 kB / 0.8511 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.03555, allocations: 4 kB / 0.8511 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of Templates: time 0.01146/0.04701, allocations: 9.783 MB / 0.8606 GB, free: 14.05 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.121148702222854]