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.0009275/0.0009275, 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.0009436/0.0009436, allocations: 169 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.9387/0.9387, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.865/1.865, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.814e-06/1.814e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.162e-05, allocations: 3.297 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00578/0.005801, allocations: 6.166 MB / 0.8176 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002983/0.008784, allocations: 3.219 MB / 0.8207 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.00899, allocations: 39.62 kB / 0.8207 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.01013, allocations: 0.9645 MB / 0.8217 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.0107, allocations: 0.4972 MB / 0.8222 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.01122, allocations: 493 kB / 0.8226 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000718/0.01194, allocations: 1.119 MB / 0.8237 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.01246, allocations: 0.5099 MB / 0.8242 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.01296, allocations: 0.6112 MB / 0.8248 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.01334, allocations: 438.8 kB / 0.8252 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.0134, allocations: 56 kB / 0.8253 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.01379, allocations: 442.8 kB / 0.8257 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.01398, allocations: 315.1 kB / 0.826 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.01417, allocations: 271.4 kB / 0.8263 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.01484, allocations: 0.8719 MB / 0.8271 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01484, allocations: 4.5 kB / 0.8271 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.01484, allocations: 1.938 kB / 0.8271 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.01485, allocations: 0 / 0.8271 GB, free: 2.043 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.0009294/0.01578, allocations: 1.092 MB / 0.8282 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.01581, allocations: 13.3 kB / 0.8282 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009835/0.0168, allocations: 335.7 kB / 0.8285 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.01734, allocations: 0.543 MB / 0.8291 GB, free: 16 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.01738, allocations: 45.67 kB / 0.8291 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.01745, allocations: 73.25 kB / 0.8292 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.01818, allocations: 0.8981 MB / 0.8301 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.0182, allocations: 8.125 kB / 0.8301 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.01825, allocations: 33.48 kB / 0.8301 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.01831, allocations: 77.14 kB / 0.8302 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.01874, allocations: 334.6 kB / 0.8305 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.02182, allocations: 5.633 MB / 0.836 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.02219, allocations: 256.8 kB / 0.8362 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.02256, allocations: 245.9 kB / 0.8365 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.02259, allocations: 12 kB / 0.8365 GB, free: 8.047 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.02261, allocations: 37.39 kB / 0.8365 GB, free: 8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.02261, allocations: 0 / 0.8365 GB, free: 8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=42): time 0.002053/0.02466, allocations: 1.144 MB / 0.8376 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.02469, allocations: 55.41 kB / 0.8377 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.02497, allocations: 478.3 kB / 0.8381 GB, free: 6.281 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.025, allocations: 29.7 kB / 0.8382 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.02529, allocations: 446.7 kB / 0.8386 GB, free: 5.805 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.02537, allocations: 162.6 kB / 0.8387 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.02547, allocations: 112 kB / 0.8389 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.0256, allocations: 0.5313 MB / 0.8394 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.02574, allocations: 105.2 kB / 0.8395 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.026, allocations: 408.7 kB / 0.8399 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.02644, allocations: 0.5572 MB / 0.8404 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02645, allocations: 4 kB / 0.8404 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008595/0.02731, allocations: 0.7214 MB / 0.8411 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.02733, allocations: 8 kB / 0.8411 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.02734, allocations: 8 kB / 0.8411 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.02793, allocations: 255.3 kB / 0.8414 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.0281, allocations: 99.75 kB / 0.8415 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.03258, allocations: 7.72 MB / 0.849 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.03275, allocations: 31.97 kB / 0.849 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.03278, allocations: 24 kB / 0.8491 GB, free: 10.27 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.0001418/0.03292, allocations: 200.6 kB / 0.8493 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.03299, allocations: 71.67 kB / 0.8493 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.03375, allocations: 0.5636 MB / 0.8499 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.03375, allocations: 4 kB / 0.8499 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.03375, allocations: 4 kB / 0.8499 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.03376, allocations: 3.938 kB / 0.8499 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.03497, allocations: 1.143 MB / 0.851 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.03497, allocations: 4 kB / 0.851 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.03506, allocations: 39.97 kB / 0.851 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.03558, allocations: 258.6 kB / 0.8513 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.03561, allocations: 12 kB / 0.8513 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.03952, allocations: 7.714 MB / 0.8588 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.03952, allocations: 0 / 0.8588 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.04029, allocations: 0.7353 MB / 0.8595 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.0404, allocations: 99.52 kB / 0.8596 GB, free: 14.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.04044, allocations: 15.92 kB / 0.8597 GB, free: 14.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.04057, allocations: 23.97 kB / 0.8597 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.04064, allocations: 47.86 kB / 0.8597 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.04066, allocations: 12 kB / 0.8597 GB, free: 14.64 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001735/0.04083, allocations: 290.8 kB / 0.86 GB, free: 14.36 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.04083, allocations: 0 / 0.86 GB, free: 14.36 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004501/0.04128, allocations: 200 kB / 0.8602 GB, free: 14.16 MB / 0.823 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.0001212/0.0414, allocations: 111.2 kB / 0.8603 GB, free: 14.05 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009391/0.04234, allocations: 1.141 MB / 0.8614 GB, free: 12.84 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.04235, allocations: 0 / 0.8614 GB, free: 12.84 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/0.04295, allocations: 0.9634 MB / 0.8624 GB, free: 11.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.04351, allocations: 192.9 kB / 0.8626 GB, free: 11.61 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.04508, allocations: 1.162 MB / 0.8637 GB, free: 10.39 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.04522, allocations: 206.2 kB / 0.8639 GB, free: 10.17 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.04537, allocations: 81 kB / 0.864 GB, free: 10.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.04543, allocations: 40.48 kB / 0.864 GB, free: 10.05 MB / 0.823 GB Notification: Performance of SimCode: time 7.81e-07/0.04543, allocations: 3.938 kB / 0.864 GB, free: 10.04 MB / 0.823 GB Notification: Performance of Templates: time 0.01192/0.05735, allocations: 10.53 MB / 0.8743 GB, free: 15.73 MB / 0.8386 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.184006962925196]