Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108 kB / 16.41 MB, free: 6.504 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.001739/0.00174, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.602/1.602, allocations: 222.9 MB / 241 MB, free: 15.16 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.885/2.885, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.09 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.0094/1.039, allocations: 6.752 MB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005971/1.045, allocations: 3.036 MB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/1.046, allocations: 27.81 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002765/1.049, allocations: 0.9598 MB / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/1.051, allocations: 0.5168 MB / 1.178 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/1.052, allocations: 424.6 kB / 1.179 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001963/1.054, allocations: 1.236 MB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.055, allocations: 0.6515 MB / 1.181 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00088/1.056, allocations: 486.3 kB / 1.181 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008677/1.057, allocations: 0.5215 MB / 1.182 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/1.057, allocations: 68 kB / 1.182 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000989/1.058, allocations: 371.3 kB / 1.182 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/1.058, allocations: 311.1 kB / 1.182 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/1.059, allocations: 449.7 kB / 1.183 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/1.061, allocations: 1.218 MB / 1.184 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.061, allocations: 3.984 kB / 1.184 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.285e-06/1.061, allocations: 0 / 1.184 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.061, allocations: 0 / 1.184 GB, free: 2.84 MB / 0.9044 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.002118/1.063, allocations: 1.175 MB / 1.185 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.063, allocations: 24.81 kB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/1.064, allocations: 244 kB / 1.185 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.066, allocations: 0.5925 MB / 1.186 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/1.066, allocations: 49.67 kB / 1.186 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.066, allocations: 68.34 kB / 1.186 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.067, allocations: 1.085 MB / 1.187 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/1.067, allocations: 11.89 kB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/1.068, allocations: 27.98 kB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/1.068, allocations: 85.25 kB / 1.187 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.069, allocations: 0.7504 MB / 1.188 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006314/1.075, allocations: 5.886 MB / 1.194 GB, free: 8.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/1.076, allocations: 0.5399 MB / 1.194 GB, free: 7.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/1.077, allocations: 338 kB / 1.194 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/1.077, allocations: 4.438 kB / 1.195 GB, free: 7.332 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.077, allocations: 39 kB / 1.195 GB, free: 7.285 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 2.765e-06/1.077, allocations: 0 / 1.195 GB, free: 7.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.004143/1.081, allocations: 1.999 MB / 1.196 GB, free: 5.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.081, allocations: 55.84 kB / 1.197 GB, free: 5.125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/1.082, allocations: 0.5548 MB / 1.197 GB, free: 4.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/1.082, allocations: 41.58 kB / 1.197 GB, free: 4.516 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/1.082, allocations: 424 kB / 1.198 GB, free: 4.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.083, allocations: 186.4 kB / 1.198 GB, free: 3.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/1.083, allocations: 126.6 kB / 1.198 GB, free: 3.777 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.083, allocations: 378.7 kB / 1.198 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/1.083, allocations: 273.9 kB / 1.198 GB, free: 3.133 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/1.084, allocations: 493 kB / 1.199 GB, free: 2.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.085, allocations: 0.8093 MB / 1.2 GB, free: 1.656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.085, allocations: 4 kB / 1.2 GB, free: 1.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001979/1.087, allocations: 1.087 MB / 1.201 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.087, allocations: 8 kB / 1.201 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.087, allocations: 4 kB / 1.201 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008977/1.088, allocations: 283.8 kB / 1.201 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/1.089, allocations: 123.8 kB / 1.201 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/1.096, allocations: 7.147 MB / 1.208 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/1.097, allocations: 35.97 kB / 1.208 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/1.097, allocations: 32 kB / 1.208 GB, free: 8.344 MB / 0.9356 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.000454/1.098, allocations: 258.1 kB / 1.208 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/1.098, allocations: 71.58 kB / 1.209 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.099, allocations: 0.8885 MB / 1.209 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.099, allocations: 4 kB / 1.209 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.099, allocations: 4 kB / 1.209 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.099, allocations: 3.984 kB / 1.209 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/1.102, allocations: 1.728 MB / 1.211 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.102, allocations: 0 / 1.211 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/1.103, allocations: 63.89 kB / 1.211 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008237/1.103, allocations: 275.3 kB / 1.211 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/1.104, allocations: 12 kB / 1.211 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/1.111, allocations: 7.124 MB / 1.218 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.111, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/1.113, allocations: 0.9839 MB / 1.219 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/1.113, allocations: 196.6 kB / 1.22 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.114, allocations: 11.94 kB / 1.22 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/1.114, allocations: 40.03 kB / 1.22 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.114, allocations: 43.88 kB / 1.22 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/1.114, allocations: 20 kB / 1.22 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000573/1.115, allocations: 383.1 kB / 1.22 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.115, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009595/1.116, allocations: 224 kB / 1.22 GB, free: 11.3 MB / 0.9512 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.0002022/1.116, allocations: 120.7 kB / 1.22 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002353/1.118, allocations: 1.279 MB / 1.222 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.118, allocations: 0 / 1.222 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.12, allocations: 0.8854 MB / 1.222 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.121, allocations: 221.4 kB / 1.223 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/1.124, allocations: 1.349 MB / 1.224 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/1.125, allocations: 1.009 MB / 1.225 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004773/1.126, allocations: 118 kB / 1.225 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/1.126, allocations: 43.44 kB / 1.225 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of SimCode: time 1.563e-06/1.126, allocations: 0 / 1.225 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of Templates: time 0.02465/1.15, allocations: 11.35 MB / 1.236 GB, free: 10.87 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches