Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01574/0.01574, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 197 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.838/2.838, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.219, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.02762/1.247, allocations: 10.9 MB / 1.177 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0269/1.274, allocations: 8.811 MB / 1.186 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/1.277, allocations: 59.73 kB / 1.186 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007659/1.284, allocations: 1.668 MB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008433/1.293, allocations: 1.569 MB / 1.189 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/1.296, allocations: 0.6719 MB / 1.19 GB, free: 12.06 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004769/1.301, allocations: 2.28 MB / 1.192 GB, free: 9.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/1.304, allocations: 1.387 MB / 1.193 GB, free: 8.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/1.307, allocations: 1 MB / 1.194 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/1.31, allocations: 1.027 MB / 1.195 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006982/1.31, allocations: 140 kB / 1.195 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/1.313, allocations: 0.7994 MB / 1.196 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/1.314, allocations: 0.5647 MB / 1.197 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/1.316, allocations: 0.89 MB / 1.198 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005412/1.322, allocations: 2.569 MB / 1.2 GB, free: 1.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/1.322, allocations: 4 kB / 1.2 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.853e-06/1.322, allocations: 4 kB / 1.2 GB, free: 1.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.527e-05/1.322, allocations: 0 / 1.2 GB, free: 1.332 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003961/1.326, allocations: 2.062 MB / 1.202 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.326, allocations: 20.8 kB / 1.202 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/1.337, allocations: 2.063 MB / 1.204 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/1.34, allocations: 1.217 MB / 1.205 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/1.34, allocations: 86.69 kB / 1.205 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.34, allocations: 124.1 kB / 1.206 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/1.346, allocations: 2.485 MB / 1.208 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/1.346, allocations: 11.88 kB / 1.208 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/1.346, allocations: 51.98 kB / 1.208 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000356/1.346, allocations: 130.1 kB / 1.208 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007214/1.354, allocations: 2.537 MB / 1.211 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/1.369, allocations: 10.04 MB / 1.22 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006259/1.376, allocations: 1.956 MB / 1.222 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.378, allocations: 0.9776 MB / 1.223 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/1.378, allocations: 12.42 kB / 1.223 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.378, allocations: 43 kB / 1.223 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 3.066e-06/1.378, allocations: 0 / 1.223 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03113/1.41, allocations: 8.737 MB / 1.232 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/1.41, allocations: 64.06 kB / 1.232 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/1.412, allocations: 1.101 MB / 1.233 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/1.412, allocations: 45.69 kB / 1.233 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007874/1.413, allocations: 0.7434 MB / 1.234 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/1.413, allocations: 293.4 kB / 1.234 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/1.414, allocations: 206.5 kB / 1.234 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.414, allocations: 341.9 kB / 1.235 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/1.417, allocations: 1.075 MB / 1.236 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/1.42, allocations: 1.305 MB / 1.237 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006036/1.426, allocations: 2.382 MB / 1.239 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.426, allocations: 4 kB / 1.239 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009031/1.435, allocations: 3.277 MB / 1.242 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.435, allocations: 8 kB / 1.242 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.435, allocations: 8 kB / 1.242 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/1.438, allocations: 0.784 MB / 1.243 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.44, allocations: 423.2 kB / 1.244 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.457, allocations: 15.93 MB / 1.259 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.46, allocations: 291.6 kB / 1.259 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.46, allocations: 51.95 kB / 1.26 GB, free: 2.031 MB / 0.9825 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009427/1.461, allocations: 398 kB / 1.26 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/1.461, allocations: 155 kB / 1.26 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009238/1.471, allocations: 3.199 MB / 1.263 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.471, allocations: 15.92 kB / 1.263 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.471, allocations: 8 kB / 1.263 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.471, allocations: 3.984 kB / 1.263 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.483, allocations: 4.901 MB / 1.268 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.483, allocations: 7.922 kB / 1.268 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.485, allocations: 355.7 kB / 1.268 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002351/1.487, allocations: 0.7135 MB / 1.269 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.488, allocations: 31.97 kB / 1.269 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/1.504, allocations: 15.53 MB / 1.284 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.505, allocations: 11.88 kB / 1.284 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008366/1.513, allocations: 3.044 MB / 1.287 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.514, allocations: 392 kB / 1.288 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.514, allocations: 24 kB / 1.288 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.516, allocations: 291.4 kB / 1.288 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.516, allocations: 80.5 kB / 1.288 GB, free: 3.484 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.783e-05/1.517, allocations: 40.09 kB / 1.288 GB, free: 3.445 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001047/1.518, allocations: 0.7366 MB / 1.289 GB, free: 2.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.518, allocations: 0 / 1.289 GB, free: 2.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001702/1.519, allocations: 435.9 kB / 1.289 GB, free: 2.281 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002974/1.52, allocations: 131.1 kB / 1.289 GB, free: 2.145 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00877/1.528, allocations: 3.64 MB / 1.293 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.528, allocations: 0 / 1.293 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.534, allocations: 2.371 MB / 1.295 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/1.536, allocations: 0.5211 MB / 1.296 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007745/1.544, allocations: 3.478 MB / 1.299 GB, free: 7.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.545, allocations: 1.391 MB / 1.3 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001557/1.547, allocations: 383.8 kB / 1.301 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/1.547, allocations: 103.4 kB / 1.301 GB, free: 5.988 MB / 1.029 GB Notification: Performance of SimCode: time 2.524e-06/1.547, allocations: 0 / 1.301 GB, free: 5.988 MB / 1.029 GB Notification: Performance of Templates: time 0.0591/1.606, allocations: 30.49 MB / 1.331 GB, free: 7.902 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches