Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001023/0.001023, allocations: 81.95 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.001236/0.001236, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.9486/0.9486, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.845/1.845, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.112e-05, allocations: 3.094 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003876/0.003897, allocations: 4.067 MB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002968/0.006866, allocations: 1.533 MB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005818/0.007448, allocations: 42.22 kB / 0.8183 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.008244, allocations: 186.7 kB / 0.8185 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008518/0.009095, allocations: 416.3 kB / 0.8189 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.009794, allocations: 353 kB / 0.8192 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.01086, allocations: 1.139 MB / 0.8203 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.01148, allocations: 0.5072 MB / 0.8208 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.01207, allocations: 0.6132 MB / 0.8214 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.01257, allocations: 450.8 kB / 0.8218 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.01262, allocations: 57.12 kB / 0.8219 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.01284, allocations: 139.8 kB / 0.822 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.01303, allocations: 307.1 kB / 0.8223 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.01323, allocations: 264.2 kB / 0.8226 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.01378, allocations: 0.6617 MB / 0.8232 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.01379, allocations: 0.5312 kB / 0.8232 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.01379, allocations: 0.8438 kB / 0.8232 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.01379, allocations: 7.938 kB / 0.8232 GB, free: 6.758 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009164/0.01471, allocations: 1.051 MB / 0.8242 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01475, allocations: 12.03 kB / 0.8243 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.01545, allocations: 286.2 kB / 0.8245 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.01598, allocations: 0.5186 MB / 0.825 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.01601, allocations: 45.67 kB / 0.8251 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.01608, allocations: 68.36 kB / 0.8251 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.01669, allocations: 0.8506 MB / 0.826 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.01671, allocations: 12.08 kB / 0.826 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.01675, allocations: 28.36 kB / 0.826 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.01681, allocations: 73.2 kB / 0.8261 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.01718, allocations: 276.5 kB / 0.8263 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.01984, allocations: 5.521 MB / 0.8317 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.02018, allocations: 221.4 kB / 0.832 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.02049, allocations: 232.3 kB / 0.8322 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.02052, allocations: 4 kB / 0.8322 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.02054, allocations: 45.33 kB / 0.8322 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 2.205e-06/0.02054, allocations: 4 kB / 0.8322 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.001778/0.02232, allocations: 0.9685 MB / 0.8332 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.02235, allocations: 55.41 kB / 0.8332 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.02267, allocations: 458.3 kB / 0.8337 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.02269, allocations: 37.7 kB / 0.8337 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.02287, allocations: 450.6 kB / 0.8341 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.02296, allocations: 158.7 kB / 0.8343 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02306, allocations: 119.9 kB / 0.8344 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.0232, allocations: 0.5429 MB / 0.8349 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.02329, allocations: 77.25 kB / 0.835 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.02351, allocations: 384.7 kB / 0.8354 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.02387, allocations: 0.5102 MB / 0.8359 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02387, allocations: 0 / 0.8359 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007609/0.02463, allocations: 0.6557 MB / 0.8365 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.02465, allocations: 10.5 kB / 0.8365 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.02466, allocations: 12.09 kB / 0.8365 GB, free: 8.336 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.02522, allocations: 258.4 kB / 0.8368 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.02539, allocations: 83.84 kB / 0.8368 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.02934, allocations: 7.57 MB / 0.8442 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.02958, allocations: 24 kB / 0.8443 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.02961, allocations: 20 kB / 0.8443 GB, free: 15.91 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.02982, allocations: 192.4 kB / 0.8445 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.0299, allocations: 75.56 kB / 0.8445 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006732/0.03057, allocations: 0.5128 MB / 0.845 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.03057, allocations: 4.094 kB / 0.845 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03058, allocations: 4 kB / 0.845 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.03058, allocations: 7.969 kB / 0.8451 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.03174, allocations: 1.001 MB / 0.846 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.03175, allocations: 4.031 kB / 0.846 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.03183, allocations: 31.92 kB / 0.8461 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/0.03231, allocations: 242.7 kB / 0.8463 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.03233, allocations: 8 kB / 0.8463 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.03584, allocations: 7.568 MB / 0.8537 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.03584, allocations: 4 kB / 0.8537 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.03666, allocations: 0.6914 MB / 0.8544 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.0368, allocations: 87.5 kB / 0.8545 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.03683, allocations: 12 kB / 0.8545 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.03696, allocations: 8 kB / 0.8545 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.03704, allocations: 43.86 kB / 0.8545 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.03706, allocations: 8 kB / 0.8545 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001423/0.0372, allocations: 282.7 kB / 0.8548 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0372, allocations: 0 / 0.8548 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005653/0.03777, allocations: 200 kB / 0.855 GB, free: 4.301 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.03791, allocations: 113.8 kB / 0.8551 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008922/0.0388, allocations: 1.12 MB / 0.8562 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.0388, allocations: 0.5625 kB / 0.8562 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.03937, allocations: 0.9261 MB / 0.8571 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.03999, allocations: 205.2 kB / 0.8573 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.04142, allocations: 1.156 MB / 0.8584 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.04157, allocations: 202.2 kB / 0.8586 GB, free: 372 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.04174, allocations: 65.03 kB / 0.8587 GB, free: 304 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.04195, allocations: 202.1 kB / 0.8589 GB, free: 100 kB / 0.8073 GB Notification: Performance of SimCode: time 1.192e-06/0.04195, allocations: 0 / 0.8589 GB, free: 100 kB / 0.8073 GB Notification: Performance of Templates: time 0.01349/0.05544, allocations: 11.27 MB / 0.8699 GB, free: 5.059 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.190225541125983]