Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001012/0.001012, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001156/0.001156, allocations: 169 kB / 24.28 MB, free: 284 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.9767/0.9767, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.33e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.0091/0.009134, allocations: 5.642 MB / 0.817 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005464/0.0146, allocations: 2.715 MB / 0.8197 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/0.01511, allocations: 33.22 kB / 0.8197 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.01715, allocations: 0.6903 MB / 0.8204 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.01838, allocations: 441.1 kB / 0.8208 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.01983, allocations: 425.7 kB / 0.8212 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.02111, allocations: 0.9824 MB / 0.8222 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006504/0.02176, allocations: 386.5 kB / 0.8226 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000848/0.0226, allocations: 0.5189 MB / 0.8231 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006595/0.02326, allocations: 371.6 kB / 0.8234 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.02336, allocations: 48.81 kB / 0.8235 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.02404, allocations: 331.1 kB / 0.8238 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.02433, allocations: 268.2 kB / 0.824 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.02464, allocations: 235.4 kB / 0.8243 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.02572, allocations: 0.724 MB / 0.825 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.02572, allocations: 1.344 kB / 0.825 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.382e-06/0.02573, allocations: 0 / 0.825 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.02575, allocations: 0 / 0.825 GB, free: 4.281 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.001585/0.02733, allocations: 1.032 MB / 0.826 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.02738, allocations: 8.031 kB / 0.826 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.02892, allocations: 291.3 kB / 0.8263 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.02948, allocations: 495.2 kB / 0.8267 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.02951, allocations: 33.38 kB / 0.8268 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.02963, allocations: 61.19 kB / 0.8268 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.0303, allocations: 0.7871 MB / 0.8276 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.03032, allocations: 8.125 kB / 0.8276 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.03036, allocations: 29.2 kB / 0.8276 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.03048, allocations: 64.95 kB / 0.8277 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.03086, allocations: 275.6 kB / 0.8279 GB, free: 1.031 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005915/0.03678, allocations: 4.413 MB / 0.8323 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.03719, allocations: 156.3 kB / 0.8324 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.03741, allocations: 93.34 kB / 0.8325 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.03744, allocations: 8.219 kB / 0.8325 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.03747, allocations: 37.67 kB / 0.8325 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.03748, allocations: 0.9062 kB / 0.8325 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.00467/0.04215, allocations: 1.554 MB / 0.8341 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.04219, allocations: 59.39 kB / 0.8341 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.04271, allocations: 458.5 kB / 0.8346 GB, free: 10 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.04275, allocations: 37.7 kB / 0.8346 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.04302, allocations: 407 kB / 0.835 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.04314, allocations: 150.8 kB / 0.8351 GB, free: 9.406 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.04333, allocations: 111.9 kB / 0.8352 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.04354, allocations: 0.5429 MB / 0.8358 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.0438, allocations: 97.25 kB / 0.8359 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.04423, allocations: 351.3 kB / 0.8362 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.04496, allocations: 486.1 kB / 0.8366 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.04497, allocations: 0 / 0.8366 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001566/0.04653, allocations: 0.637 MB / 0.8373 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.04656, allocations: 12.09 kB / 0.8373 GB, free: 6.949 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.04658, allocations: 4 kB / 0.8373 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.04774, allocations: 226.8 kB / 0.8375 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.04828, allocations: 115.8 kB / 0.8376 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.05323, allocations: 5.643 MB / 0.8431 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.05371, allocations: 35.97 kB / 0.8432 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.05376, allocations: 23.94 kB / 0.8432 GB, free: 0.5312 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.0002531/0.05401, allocations: 192.5 kB / 0.8434 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.05413, allocations: 63.67 kB / 0.8434 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.05537, allocations: 0.4925 MB / 0.8439 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.05538, allocations: 4 kB / 0.8439 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.05539, allocations: 4 kB / 0.8439 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.0554, allocations: 7.984 kB / 0.8439 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.05756, allocations: 1.057 MB / 0.845 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.05756, allocations: 0 / 0.845 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.05793, allocations: 75.81 kB / 0.845 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/0.0589, allocations: 215.2 kB / 0.8452 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.05894, allocations: 11.98 kB / 0.8452 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.06355, allocations: 5.647 MB / 0.8508 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.06355, allocations: 3.938 kB / 0.8508 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.06476, allocations: 0.7497 MB / 0.8515 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.0649, allocations: 87.62 kB / 0.8516 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.06495, allocations: 11.94 kB / 0.8516 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.06513, allocations: 31.95 kB / 0.8516 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.0652, allocations: 35.88 kB / 0.8517 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.06522, allocations: 16 kB / 0.8517 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000207/0.06543, allocations: 294.8 kB / 0.8519 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.06543, allocations: 0 / 0.8519 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005235/0.06595, allocations: 176 kB / 0.8521 GB, free: 6.812 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.0001348/0.06609, allocations: 111.2 kB / 0.8522 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009544/0.06704, allocations: 0.9097 MB / 0.8531 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.06704, allocations: 0 / 0.8531 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.06756, allocations: 0.7508 MB / 0.8538 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.06812, allocations: 173.8 kB / 0.854 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.06978, allocations: 1.155 MB / 0.8551 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.06993, allocations: 186.5 kB / 0.8553 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.07015, allocations: 92.8 kB / 0.8554 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.917e-05/0.07023, allocations: 40.42 kB / 0.8554 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of SimCode: time 1.483e-06/0.07023, allocations: 4 kB / 0.8554 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of Templates: time 0.01211/0.08235, allocations: 9.193 MB / 0.8644 GB, free: 10.25 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_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.37588322092779]