Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001866/0.001866, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.84 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3218, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008321/0.3301, allocations: 6.749 MB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.3353, allocations: 3.04 MB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.3358, allocations: 23.88 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.3381, allocations: 0.8944 MB / 1.063 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.3392, allocations: 481.7 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.3402, allocations: 379.3 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3418, allocations: 1.591 MB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.3427, allocations: 0.6444 MB / 1.066 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005419/0.3432, allocations: 418.3 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.3441, allocations: 0.5293 MB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3442, allocations: 47.98 kB / 1.067 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.3451, allocations: 455.1 kB / 1.067 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.3454, allocations: 287.1 kB / 1.067 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.3458, allocations: 425.8 kB / 1.068 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.347, allocations: 1.199 MB / 1.069 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.347, allocations: 3.984 kB / 1.069 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.81e-07/0.347, allocations: 0 / 1.069 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.347, allocations: 8 kB / 1.069 GB, free: 7.691 MB / 0.8262 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.001984/0.349, allocations: 1.153 MB / 1.07 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3491, allocations: 12.03 kB / 1.07 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.3506, allocations: 239.5 kB / 1.07 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.3514, allocations: 0.5491 MB / 1.071 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.3515, allocations: 45.67 kB / 1.071 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.3516, allocations: 60.38 kB / 1.071 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.3532, allocations: 1.097 MB / 1.072 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.3532, allocations: 7.938 kB / 1.072 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.3533, allocations: 24 kB / 1.072 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.3534, allocations: 85.25 kB / 1.072 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.3546, allocations: 0.7504 MB / 1.073 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.36, allocations: 5.897 MB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.361, allocations: 0.5548 MB / 1.079 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.3614, allocations: 330 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3615, allocations: 4.438 kB / 1.079 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3615, allocations: 43 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.3615, allocations: 0 / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.003958/0.3655, allocations: 1.994 MB / 1.081 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3655, allocations: 55.84 kB / 1.081 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.3662, allocations: 0.5509 MB / 1.082 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3663, allocations: 37.7 kB / 1.082 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.3666, allocations: 414.9 kB / 1.082 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.3667, allocations: 165.6 kB / 1.083 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.367, allocations: 130.5 kB / 1.083 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3671, allocations: 378.7 kB / 1.083 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.3676, allocations: 273.8 kB / 1.083 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.3682, allocations: 493 kB / 1.084 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3693, allocations: 0.8132 MB / 1.085 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3693, allocations: 7.984 kB / 1.085 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001904/0.3712, allocations: 1.083 MB / 1.086 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3712, allocations: 11.94 kB / 1.086 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3712, allocations: 4 kB / 1.086 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/0.3722, allocations: 276 kB / 1.086 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.3727, allocations: 127.8 kB / 1.086 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.3792, allocations: 6.595 MB / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.38, allocations: 40.03 kB / 1.092 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.3801, allocations: 28 kB / 1.093 GB, free: 13.88 MB / 0.8575 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.0005531/0.3807, allocations: 254.8 kB / 1.093 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.3809, allocations: 75.14 kB / 1.093 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.3827, allocations: 0.8885 MB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3827, allocations: 4 kB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/0.3828, allocations: 4 kB / 1.094 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3828, allocations: 3.984 kB / 1.094 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/0.386, allocations: 1.724 MB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.3861, allocations: 12.12 kB / 1.095 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3864, allocations: 64.02 kB / 1.095 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008258/0.3872, allocations: 263.2 kB / 1.096 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.3872, allocations: 12 kB / 1.096 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006637/0.3939, allocations: 6.587 MB / 1.102 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3939, allocations: 4.031 kB / 1.102 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.3956, allocations: 0.9757 MB / 1.103 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.396, allocations: 196.2 kB / 1.103 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.3962, allocations: 19.88 kB / 1.103 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.3966, allocations: 27.97 kB / 1.103 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3967, allocations: 43.88 kB / 1.103 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3967, allocations: 16 kB / 1.103 GB, free: 2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005248/0.3973, allocations: 383.1 kB / 1.104 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3973, allocations: 0 / 1.104 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000949/0.3982, allocations: 220 kB / 1.104 GB, free: 1.414 MB / 0.8575 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.0002046/0.3984, allocations: 123.1 kB / 1.104 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.4007, allocations: 1.268 MB / 1.105 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4007, allocations: 4 kB / 1.105 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.402, allocations: 0.8893 MB / 1.106 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4032, allocations: 204.2 kB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.4059, allocations: 1.64 MB / 1.108 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008321/0.4068, allocations: 1.013 MB / 1.109 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004924/0.4073, allocations: 130.1 kB / 1.109 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4074, allocations: 43.42 kB / 1.109 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of SimCode: time 1.102e-06/0.4074, allocations: 0 / 1.109 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.02058/0.428, allocations: 10.76 MB / 1.12 GB, free: 1.281 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches