Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001186/0.001186, 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.001383/0.001383, 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.9197/0.9197, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6055 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.679e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005793/0.00581, allocations: 6.85 MB / 0.7938 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.009195, allocations: 3.109 MB / 0.7968 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.009488, allocations: 39.62 kB / 0.7969 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.01083, allocations: 0.9801 MB / 0.7978 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000676/0.01151, allocations: 0.5365 MB / 0.7983 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.0121, allocations: 428.9 kB / 0.7987 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00081/0.01291, allocations: 1.256 MB / 0.8 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.01349, allocations: 0.5294 MB / 0.8005 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.01402, allocations: 0.6709 MB / 0.8011 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.01445, allocations: 482.7 kB / 0.8016 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.01451, allocations: 68.53 kB / 0.8017 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.01487, allocations: 348.5 kB / 0.802 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.01508, allocations: 331.1 kB / 0.8023 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.01529, allocations: 319.2 kB / 0.8026 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.016, allocations: 0.8681 MB / 0.8035 GB, free: 12 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.016, allocations: 1.156 kB / 0.8035 GB, free: 12 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.92e-07/0.016, allocations: 0 / 0.8035 GB, free: 12 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.01601, allocations: 0 / 0.8035 GB, free: 12 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001207/0.01721, allocations: 1.216 MB / 0.8047 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01725, allocations: 8.031 kB / 0.8047 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.01825, allocations: 339.1 kB / 0.805 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.01882, allocations: 0.5464 MB / 0.8055 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.01885, allocations: 47.03 kB / 0.8056 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.01892, allocations: 68.36 kB / 0.8056 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.01971, allocations: 1.08 MB / 0.8067 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.01973, allocations: 8.078 kB / 0.8067 GB, free: 8.434 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.01978, allocations: 37.03 kB / 0.8067 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.01988, allocations: 85.25 kB / 0.8068 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.02035, allocations: 358.5 kB / 0.8072 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.02318, allocations: 5.708 MB / 0.8127 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.02366, allocations: 292.8 kB / 0.813 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.02386, allocations: 137.1 kB / 0.8131 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.02389, allocations: 9.312 kB / 0.8131 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.02391, allocations: 41.89 kB / 0.8132 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 1.893e-06/0.02392, allocations: 0.5 kB / 0.8132 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001757/0.02567, allocations: 1.082 MB / 0.8142 GB, free: 484 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.0257, allocations: 59.91 kB / 0.8143 GB, free: 412 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.02604, allocations: 0.5258 MB / 0.8148 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.02607, allocations: 37.7 kB / 0.8148 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.02625, allocations: 478.6 kB / 0.8153 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.02634, allocations: 178.5 kB / 0.8155 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.02646, allocations: 124.3 kB / 0.8156 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.0266, allocations: 0.543 MB / 0.8161 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.02675, allocations: 113.9 kB / 0.8162 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.02704, allocations: 424.6 kB / 0.8166 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.02754, allocations: 0.5858 MB / 0.8172 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02754, allocations: 4 kB / 0.8172 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008705/0.02841, allocations: 0.7417 MB / 0.8179 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.02843, allocations: 11.98 kB / 0.818 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.02844, allocations: 12.06 kB / 0.818 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/0.02921, allocations: 302.4 kB / 0.8183 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.02946, allocations: 127.8 kB / 0.8184 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.03309, allocations: 7.606 MB / 0.8258 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.03334, allocations: 43.91 kB / 0.8258 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.03336, allocations: 24 kB / 0.8259 GB, free: 3.711 MB / 0.7761 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (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.0001542/0.03352, allocations: 204.4 kB / 0.8261 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.0336, allocations: 87.58 kB / 0.8261 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.03428, allocations: 0.5492 MB / 0.8267 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.03428, allocations: 4 kB / 0.8267 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.03429, allocations: 4 kB / 0.8267 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.03429, allocations: 0 / 0.8267 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.03551, allocations: 1.173 MB / 0.8278 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03551, allocations: 0 / 0.8278 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.03564, allocations: 63.89 kB / 0.8279 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.03627, allocations: 294.7 kB / 0.8282 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.03629, allocations: 12 kB / 0.8282 GB, free: 1.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.03971, allocations: 7.603 MB / 0.8356 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.03972, allocations: 0 / 0.8356 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.04042, allocations: 0.7246 MB / 0.8363 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.04055, allocations: 111.6 kB / 0.8364 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.04059, allocations: 15.94 kB / 0.8364 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.04076, allocations: 23.97 kB / 0.8365 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.04083, allocations: 55.78 kB / 0.8365 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.04085, allocations: 20.03 kB / 0.8365 GB, free: 8.098 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002086/0.04106, allocations: 334.8 kB / 0.8369 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.04106, allocations: 0 / 0.8369 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005015/0.04156, allocations: 228 kB / 0.8371 GB, free: 7.551 MB / 0.7917 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.04168, allocations: 111.2 kB / 0.8372 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.04268, allocations: 1.194 MB / 0.8383 GB, free: 6.168 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.04268, allocations: 7.938 kB / 0.8384 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.04334, allocations: 0.9689 MB / 0.8393 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.04392, allocations: 204.5 kB / 0.8395 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.04551, allocations: 1.251 MB / 0.8407 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.04565, allocations: 219.3 kB / 0.8409 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.04584, allocations: 97.44 kB / 0.841 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.04591, allocations: 40.48 kB / 0.8411 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of SimCode: time 1.733e-06/0.04592, allocations: 4 kB / 0.8411 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of Templates: time 0.01228/0.05819, allocations: 11.45 MB / 0.8522 GB, free: 8.023 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.010712679941207]