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.001001/0.001001, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009786/0.0009786, allocations: 173 kB / 24.28 MB, free: 276 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.9541/0.9541, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.771/1.771, allocations: 377.8 MB / 0.6239 GB, free: 8.582 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.923e-06/1.923e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.912e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007285/0.007314, allocations: 5.547 MB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.01156, allocations: 2.681 MB / 0.8196 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.01187, allocations: 39.62 kB / 0.8196 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.01336, allocations: 0.6991 MB / 0.8203 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.01418, allocations: 434.7 kB / 0.8207 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.01499, allocations: 405.6 kB / 0.8211 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.01604, allocations: 0.9824 MB / 0.822 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/0.01677, allocations: 378.5 kB / 0.8224 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007277/0.0175, allocations: 0.5143 MB / 0.8229 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.01803, allocations: 371 kB / 0.8233 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.01811, allocations: 48 kB / 0.8233 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.01863, allocations: 332.5 kB / 0.8236 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.01888, allocations: 271.2 kB / 0.8239 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.01914, allocations: 235.4 kB / 0.8241 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009054/0.02004, allocations: 0.724 MB / 0.8248 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.02005, allocations: 0.625 kB / 0.8248 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.02005, allocations: 0 / 0.8248 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.02006, allocations: 0.5625 kB / 0.8248 GB, free: 4.461 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.001363/0.02142, allocations: 1.019 MB / 0.8258 GB, free: 3.406 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.02146, allocations: 15.97 kB / 0.8258 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.02298, allocations: 290.4 kB / 0.8261 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.02372, allocations: 482.7 kB / 0.8266 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.02376, allocations: 41.36 kB / 0.8266 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.02391, allocations: 52.56 kB / 0.8267 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.02485, allocations: 0.7864 MB / 0.8274 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.02488, allocations: 12.12 kB / 0.8274 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.02494, allocations: 28.11 kB / 0.8275 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.0251, allocations: 64.94 kB / 0.8275 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.02569, allocations: 274.8 kB / 0.8278 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.02925, allocations: 4.409 MB / 0.8321 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.02959, allocations: 152.3 kB / 0.8322 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.02977, allocations: 97.45 kB / 0.8323 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.0298, allocations: 8.219 kB / 0.8323 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.02983, allocations: 41.67 kB / 0.8324 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.726e-06/0.02983, allocations: 1.094 kB / 0.8324 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003785/0.03362, allocations: 1.55 MB / 0.8339 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.03365, allocations: 55.41 kB / 0.8339 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.03408, allocations: 450.5 kB / 0.8344 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.03412, allocations: 33.7 kB / 0.8344 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.03436, allocations: 403.1 kB / 0.8348 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.03448, allocations: 154.7 kB / 0.8349 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.03465, allocations: 108 kB / 0.835 GB, free: 9.508 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.03482, allocations: 0.5391 MB / 0.8356 GB, free: 8.957 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.03506, allocations: 109.1 kB / 0.8357 GB, free: 8.852 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.03543, allocations: 339.3 kB / 0.836 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.0362, allocations: 486.2 kB / 0.8365 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.0362, allocations: 4 kB / 0.8365 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001277/0.03748, allocations: 0.6326 MB / 0.8371 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.0375, allocations: 8.656 kB / 0.8371 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.03751, allocations: 8 kB / 0.8371 GB, free: 7.168 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/0.03839, allocations: 226.8 kB / 0.8373 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.03882, allocations: 119.8 kB / 0.8374 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.04287, allocations: 5.647 MB / 0.8429 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.04319, allocations: 27.98 kB / 0.843 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.04323, allocations: 31.92 kB / 0.843 GB, free: 0.7461 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.0001758/0.04341, allocations: 188.4 kB / 0.8432 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.04349, allocations: 67.67 kB / 0.8432 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.04421, allocations: 0.4927 MB / 0.8437 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.04422, allocations: 4 kB / 0.8437 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.04422, allocations: 4 kB / 0.8437 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.04423, allocations: 0 / 0.8437 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.0454, allocations: 1.057 MB / 0.8448 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.0454, allocations: 4.219 kB / 0.8448 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.0456, allocations: 67.88 kB / 0.8448 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/0.04608, allocations: 214.8 kB / 0.845 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.04611, allocations: 8 kB / 0.845 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.04861, allocations: 5.643 MB / 0.8506 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.04862, allocations: 11.92 kB / 0.8506 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.04941, allocations: 0.7536 MB / 0.8513 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.04951, allocations: 87.62 kB / 0.8514 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.04955, allocations: 15.94 kB / 0.8514 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.04971, allocations: 23.97 kB / 0.8514 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.04977, allocations: 39.88 kB / 0.8515 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.04979, allocations: 12 kB / 0.8515 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001675/0.04995, allocations: 287 kB / 0.8517 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.04995, allocations: 0 / 0.8517 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00039/0.05034, allocations: 172 kB / 0.8519 GB, free: 7.055 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.0001176/0.05046, allocations: 122 kB / 0.852 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008204/0.05128, allocations: 0.9133 MB / 0.8529 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.05128, allocations: 8.125 kB / 0.8529 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.05176, allocations: 0.7391 MB / 0.8536 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.05228, allocations: 177.5 kB / 0.8538 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.05367, allocations: 1.13 MB / 0.8549 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.05378, allocations: 186.4 kB / 0.8551 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.05396, allocations: 100.7 kB / 0.8552 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.05402, allocations: 32.5 kB / 0.8552 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.05403, allocations: 3.938 kB / 0.8552 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.01025/0.06427, allocations: 9.181 MB / 0.8642 GB, free: 10.5 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.117314415983856]