Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.001317/0.001317, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001317/0.001318, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.03/3.03, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.00198, allocations: 59.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7596, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009829/0.7694, allocations: 6.803 MB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005857/0.7753, allocations: 3.052 MB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006298/0.776, allocations: 31.81 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.7785, allocations: 0.8914 MB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.78, allocations: 477.7 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.7812, allocations: 402.8 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.783, allocations: 1.24 MB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.7842, allocations: 0.7345 MB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.7851, allocations: 478.2 kB / 1.031 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.7858, allocations: 0.5293 MB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.7859, allocations: 68 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.7868, allocations: 391.1 kB / 1.032 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.7872, allocations: 303.2 kB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.7877, allocations: 453.7 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.7893, allocations: 1.23 MB / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7893, allocations: 0 / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7893, allocations: 0 / 1.033 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.7894, allocations: 0 / 1.033 GB, free: 1.676 MB / 0.7794 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.002182/0.7915, allocations: 1.172 MB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.7916, allocations: 8.031 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.7932, allocations: 239.6 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009312/0.7942, allocations: 0.5569 MB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.7942, allocations: 45.67 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.7943, allocations: 72.27 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.7961, allocations: 1.085 MB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.7961, allocations: 4 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.7962, allocations: 31.92 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.7964, allocations: 89.19 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.7976, allocations: 0.7504 MB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006408/0.8041, allocations: 5.897 MB / 1.043 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.8052, allocations: 0.5555 MB / 1.044 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.8057, allocations: 322 kB / 1.044 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.8057, allocations: 8.438 kB / 1.044 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.8058, allocations: 39 kB / 1.044 GB, free: 6.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.8058, allocations: 0 / 1.044 GB, free: 6.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.00429/0.8101, allocations: 1.978 MB / 1.046 GB, free: 4.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.8101, allocations: 67.83 kB / 1.046 GB, free: 4.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.811, allocations: 0.5664 MB / 1.047 GB, free: 3.441 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.811, allocations: 29.7 kB / 1.047 GB, free: 3.406 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.8114, allocations: 418.9 kB / 1.047 GB, free: 2.988 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.8115, allocations: 165.6 kB / 1.047 GB, free: 2.824 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.8118, allocations: 134.5 kB / 1.047 GB, free: 2.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.812, allocations: 374.7 kB / 1.048 GB, free: 2.312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.8124, allocations: 277.8 kB / 1.048 GB, free: 2.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.813, allocations: 493 kB / 1.048 GB, free: 1.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.8142, allocations: 0.8132 MB / 1.049 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.8143, allocations: 4 kB / 1.049 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002075/0.8163, allocations: 1.087 MB / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.8164, allocations: 9.875 kB / 1.05 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8164, allocations: 4 kB / 1.05 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008629/0.8173, allocations: 279.6 kB / 1.051 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.8178, allocations: 131.7 kB / 1.051 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008251/0.826, allocations: 7.137 MB / 1.058 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.8268, allocations: 39.97 kB / 1.058 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.8268, allocations: 28.23 kB / 1.058 GB, free: 7.25 MB / 0.8106 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.0004806/0.8273, allocations: 258.1 kB / 1.058 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.8275, allocations: 71.19 kB / 1.058 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.8292, allocations: 0.8924 MB / 1.059 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8292, allocations: 12.03 kB / 1.059 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.8292, allocations: 3.984 kB / 1.059 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.8293, allocations: 4 kB / 1.059 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.8324, allocations: 1.713 MB / 1.061 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.8324, allocations: 7.938 kB / 1.061 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.8327, allocations: 63.83 kB / 1.061 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000817/0.8335, allocations: 275.4 kB / 1.061 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.8336, allocations: 8 kB / 1.061 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008235/0.8418, allocations: 7.127 MB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.8419, allocations: 4.031 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.8437, allocations: 0.9874 MB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.8442, allocations: 200.2 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.8443, allocations: 8 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.8447, allocations: 35.91 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8449, allocations: 43.88 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.8449, allocations: 16 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005466/0.8455, allocations: 387.1 kB / 1.07 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8455, allocations: 0 / 1.07 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009159/0.8464, allocations: 228 kB / 1.07 GB, free: 10.18 MB / 0.8262 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.0001987/0.8466, allocations: 111.2 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.849, allocations: 1.338 MB / 1.071 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.849, allocations: 0 / 1.071 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.8505, allocations: 0.8893 MB / 1.072 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.8516, allocations: 225.3 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.8548, allocations: 1.644 MB / 1.074 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/0.8558, allocations: 1.013 MB / 1.075 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004781/0.8562, allocations: 118 kB / 1.075 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.8564, allocations: 43.42 kB / 1.075 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.8564, allocations: 0 / 1.075 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of Templates: time 0.02463/0.881, allocations: 11.27 MB / 1.086 GB, free: 9.492 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches