Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005473/0.005473, allocations: 102.5 kB / 15.73 MB, free: 6.488 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.001297/0.001297, allocations: 203 kB / 16.68 MB, free: 6.367 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 71.83 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01614/0.362, allocations: 10.92 MB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.3787, allocations: 8.818 MB / 1.24 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.3811, allocations: 59.62 kB / 1.24 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005548/0.3866, allocations: 1.695 MB / 1.242 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00682/0.3934, allocations: 1.561 MB / 1.243 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.3961, allocations: 0.6666 MB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004853/0.4009, allocations: 2.294 MB / 1.246 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.4042, allocations: 1.099 MB / 1.247 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.4071, allocations: 1.012 MB / 1.248 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00271/0.4098, allocations: 1.015 MB / 1.249 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006636/0.4104, allocations: 136 kB / 1.249 GB, free: 404 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7492/1.16, allocations: 0.7995 MB / 1.25 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/1.161, allocations: 0.571 MB / 1.251 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/1.163, allocations: 0.8843 MB / 1.251 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00486/1.167, allocations: 2.583 MB / 1.254 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.167, allocations: 1.688 kB / 1.254 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.167, allocations: 0 / 1.254 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.812e-05/1.167, allocations: 0.5938 kB / 1.254 GB, free: 7.727 MB / 0.9981 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.004284/1.172, allocations: 2.065 MB / 1.256 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.172, allocations: 11.39 kB / 1.256 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/1.183, allocations: 2.064 MB / 1.258 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/1.186, allocations: 1.222 MB / 1.259 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/1.186, allocations: 84.55 kB / 1.259 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/1.187, allocations: 125.1 kB / 1.259 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005899/1.193, allocations: 2.48 MB / 1.262 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/1.193, allocations: 9.375 kB / 1.262 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/1.193, allocations: 49.81 kB / 1.262 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003686/1.193, allocations: 129.6 kB / 1.262 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007772/1.201, allocations: 2.54 MB / 1.264 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/1.216, allocations: 10.03 MB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005936/1.222, allocations: 1.918 MB / 1.276 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/1.225, allocations: 0.942 MB / 1.277 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.653e-05/1.225, allocations: 12.58 kB / 1.277 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/1.225, allocations: 44.83 kB / 1.277 GB, free: 15.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 6.473e-06/1.225, allocations: 2.656 kB / 1.277 GB, free: 15.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.05244/1.278, allocations: 8.715 MB / 1.286 GB, free: 14.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/1.278, allocations: 61.03 kB / 1.286 GB, free: 14.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.282, allocations: 1.092 MB / 1.287 GB, free: 14.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/1.282, allocations: 40.48 kB / 1.287 GB, free: 14.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/1.283, allocations: 0.7547 MB / 1.288 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/1.284, allocations: 301.5 kB / 1.288 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/1.285, allocations: 198.5 kB / 1.288 GB, free: 14.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002467/1.285, allocations: 346.2 kB / 1.288 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005522/1.291, allocations: 1.076 MB / 1.289 GB, free: 13.81 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006236/1.297, allocations: 1.307 MB / 1.291 GB, free: 13.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.31, allocations: 2.378 MB / 1.293 GB, free: 12.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/1.31, allocations: 1.531 kB / 1.293 GB, free: 12.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01845/1.328, allocations: 3.252 MB / 1.296 GB, free: 11.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/1.328, allocations: 11.66 kB / 1.296 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/1.328, allocations: 6.938 kB / 1.296 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005461/1.334, allocations: 0.7881 MB / 1.297 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.338, allocations: 419.9 kB / 1.297 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03078/1.368, allocations: 15.94 MB / 1.313 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.373, allocations: 288.6 kB / 1.313 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/1.374, allocations: 51.34 kB / 1.313 GB, free: 13.88 MB / 1.029 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.001972/1.376, allocations: 404.2 kB / 1.314 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.377, allocations: 150.3 kB / 1.314 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/1.394, allocations: 3.175 MB / 1.317 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/1.394, allocations: 11.62 kB / 1.317 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-05/1.395, allocations: 15.38 kB / 1.317 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/1.395, allocations: 3.984 kB / 1.317 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.419, allocations: 4.87 MB / 1.322 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/1.419, allocations: 3.125 kB / 1.322 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003272/1.422, allocations: 355.7 kB / 1.322 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005104/1.427, allocations: 0.7059 MB / 1.323 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003133/1.428, allocations: 32.69 kB / 1.323 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02794/1.455, allocations: 15.54 MB / 1.338 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/1.455, allocations: 5.938 kB / 1.338 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.47, allocations: 3.02 MB / 1.341 GB, free: 8.605 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.471, allocations: 392.2 kB / 1.341 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006111/1.471, allocations: 18.38 kB / 1.341 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.474, allocations: 287.6 kB / 1.341 GB, free: 8.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.474, allocations: 89.77 kB / 1.342 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.474, allocations: 39.47 kB / 1.342 GB, free: 8.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001622/1.476, allocations: 0.741 MB / 1.342 GB, free: 7.684 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/1.476, allocations: 0 / 1.342 GB, free: 7.684 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002483/1.478, allocations: 431.6 kB / 1.343 GB, free: 7.648 MB / 1.045 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.0003457/1.479, allocations: 131.2 kB / 1.343 GB, free: 7.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.008597/1.487, allocations: 3.52 MB / 1.346 GB, free: 5.324 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.487, allocations: 1.125 kB / 1.346 GB, free: 5.324 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004884/1.492, allocations: 2.323 MB / 1.349 GB, free: 3.664 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.495, allocations: 0.5246 MB / 1.349 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008404/1.504, allocations: 3.487 MB / 1.352 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.505, allocations: 1.391 MB / 1.354 GB, free: 376 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001529/1.507, allocations: 376.7 kB / 1.354 GB, free: 180 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/1.507, allocations: 105.9 kB / 1.354 GB, free: 152 kB / 1.045 GB Notification: Performance of SimCode: time 8.01e-07/1.507, allocations: 0 / 1.354 GB, free: 152 kB / 1.045 GB Notification: Performance of Templates: time 0.05178/1.559, allocations: 30.65 MB / 1.384 GB, free: 6.449 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches