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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001051/0.001051, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001424, allocations: 185.2 kB / 16.92 MB, free: 6.922 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004861, allocations: 15.94 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6583, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00785/0.6662, allocations: 6.377 MB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.6716, allocations: 3.04 MB / 1.033 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.6724, allocations: 23.81 kB / 1.033 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.673, allocations: 134.8 kB / 1.033 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.6745, allocations: 481.7 kB / 1.034 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.6757, allocations: 402.8 kB / 1.034 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.6775, allocations: 1.595 MB / 1.035 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.6794, allocations: 1.016 MB / 1.036 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007409/0.6802, allocations: 394.3 kB / 1.037 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.6808, allocations: 494 kB / 1.037 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.6809, allocations: 36 kB / 1.037 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.6818, allocations: 451 kB / 1.038 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.682, allocations: 271.2 kB / 1.038 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.6826, allocations: 439.4 kB / 1.038 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009819/0.6835, allocations: 0.9136 MB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6836, allocations: 0 / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6836, allocations: 4 kB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.6836, allocations: 0 / 1.039 GB, free: 15.79 MB / 0.795 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.001644/0.6852, allocations: 1.013 MB / 1.04 GB, free: 14.73 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6853, allocations: 12.03 kB / 1.04 GB, free: 14.72 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.6868, allocations: 235.6 kB / 1.041 GB, free: 14.49 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/0.6876, allocations: 0.553 MB / 1.041 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.6877, allocations: 53.61 kB / 1.041 GB, free: 13.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6878, allocations: 72.25 kB / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.6893, allocations: 1.085 MB / 1.042 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.6893, allocations: 3.938 kB / 1.042 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/0.6894, allocations: 31.98 kB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.6896, allocations: 85.25 kB / 1.042 GB, free: 12.46 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6907, allocations: 0.7465 MB / 1.043 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.696, allocations: 5.897 MB / 1.049 GB, free: 5.379 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.697, allocations: 0.5593 MB / 1.049 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.6975, allocations: 326 kB / 1.05 GB, free: 4.488 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.6975, allocations: 12.31 kB / 1.05 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.6976, allocations: 39 kB / 1.05 GB, free: 4.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.6976, allocations: 0 / 1.05 GB, free: 4.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003863/0.7014, allocations: 1.994 MB / 1.052 GB, free: 2.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.7015, allocations: 59.84 kB / 1.052 GB, free: 2.273 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.7021, allocations: 0.5625 MB / 1.052 GB, free: 1.703 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.7022, allocations: 29.7 kB / 1.052 GB, free: 1.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.7025, allocations: 426.9 kB / 1.053 GB, free: 1.246 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.7026, allocations: 165.6 kB / 1.053 GB, free: 1.082 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.7027, allocations: 61.69 kB / 1.053 GB, free: 1.016 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7029, allocations: 382.6 kB / 1.053 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.7033, allocations: 273.8 kB / 1.054 GB, free: 372 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.7038, allocations: 493.5 kB / 1.054 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.7048, allocations: 0.8093 MB / 1.055 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7049, allocations: 4 kB / 1.055 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001857/0.7067, allocations: 1.083 MB / 1.056 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.7068, allocations: 9.875 kB / 1.056 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.7068, allocations: 12.06 kB / 1.056 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/0.7076, allocations: 283.1 kB / 1.056 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.7081, allocations: 123.8 kB / 1.056 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.7143, allocations: 6.606 MB / 1.063 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.715, allocations: 43.95 kB / 1.063 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.7151, allocations: 28 kB / 1.063 GB, free: 6.133 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.0003857/0.7155, allocations: 257.6 kB / 1.063 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.7156, allocations: 71.16 kB / 1.063 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.7173, allocations: 0.8964 MB / 1.064 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7173, allocations: 11.94 kB / 1.064 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7173, allocations: 4 kB / 1.064 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.7173, allocations: 3.984 kB / 1.064 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.72, allocations: 1.72 MB / 1.066 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.72, allocations: 3.938 kB / 1.066 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.7203, allocations: 59.89 kB / 1.066 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007634/0.7211, allocations: 271.3 kB / 1.066 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.7211, allocations: 8 kB / 1.066 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.7273, allocations: 6.595 MB / 1.073 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7273, allocations: 4 kB / 1.073 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.729, allocations: 0.9834 MB / 1.073 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.7293, allocations: 196.2 kB / 1.074 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.7294, allocations: 15.94 kB / 1.074 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.7297, allocations: 27.97 kB / 1.074 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.7299, allocations: 44.12 kB / 1.074 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.7299, allocations: 20 kB / 1.074 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004497/0.7304, allocations: 391.1 kB / 1.074 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7304, allocations: 0 / 1.074 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008268/0.7312, allocations: 220 kB / 1.074 GB, free: 9.633 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.0001638/0.7314, allocations: 119.2 kB / 1.074 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.7333, allocations: 1.271 MB / 1.076 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7333, allocations: 4.062 kB / 1.076 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.7346, allocations: 0.9009 MB / 1.077 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.7358, allocations: 206.4 kB / 1.077 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.7381, allocations: 1.717 MB / 1.078 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.7388, allocations: 1.017 MB / 1.079 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.739, allocations: 51.44 kB / 1.08 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.739, allocations: 0 / 1.08 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of Templates: time 0.0252/0.7642, allocations: 20.76 MB / 1.1 GB, free: 15.45 MB / 0.8575 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=480 -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/jenkins1/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