Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 92.16 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.001313/0.001313, allocations: 173 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.792/2.792, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 10.16 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3015, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006133/0.3077, allocations: 5.148 MB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.312, allocations: 2.623 MB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.3125, allocations: 23.81 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.3129, allocations: 103.1 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.314, allocations: 382.2 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009695/0.315, allocations: 374.3 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.3164, allocations: 1.259 MB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3178, allocations: 0.7909 MB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.3184, allocations: 306.6 kB / 1.07 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005846/0.319, allocations: 390.4 kB / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.319, allocations: 28 kB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.3198, allocations: 431.1 kB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.3201, allocations: 215.4 kB / 1.071 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.3204, allocations: 343.9 kB / 1.071 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.3213, allocations: 0.7405 MB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3213, allocations: 4 kB / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3213, allocations: 0 / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.3213, allocations: 0 / 1.072 GB, free: 7.801 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001508/0.3228, allocations: 0.8492 MB / 1.073 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3229, allocations: 11.97 kB / 1.073 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3244, allocations: 203.8 kB / 1.073 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.3251, allocations: 494.4 kB / 1.074 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.3252, allocations: 37.36 kB / 1.074 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.3253, allocations: 56.53 kB / 1.074 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.3265, allocations: 0.8202 MB / 1.075 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.3266, allocations: 15.83 kB / 1.075 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.3267, allocations: 27.98 kB / 1.075 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.3269, allocations: 60.95 kB / 1.075 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009585/0.3278, allocations: 0.5735 MB / 1.075 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.3328, allocations: 4.596 MB / 1.08 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3333, allocations: 295.2 kB / 1.08 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.3336, allocations: 225.3 kB / 1.08 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.3337, allocations: 8.266 kB / 1.08 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3337, allocations: 34.84 kB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.325e-06/0.3337, allocations: 4 kB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005779/0.3395, allocations: 2.623 MB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3396, allocations: 59.41 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.3401, allocations: 462 kB / 1.083 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3402, allocations: 33.7 kB / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.3404, allocations: 347.6 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3405, allocations: 145.9 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.3406, allocations: 49.69 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3408, allocations: 366.8 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.3412, allocations: 237 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.3416, allocations: 406.4 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.3425, allocations: 0.6779 MB / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3425, allocations: 0 / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001758/0.3443, allocations: 0.9289 MB / 1.086 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3443, allocations: 8 kB / 1.086 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3444, allocations: 4 kB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/0.3452, allocations: 230.5 kB / 1.087 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.3458, allocations: 115.8 kB / 1.087 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/0.3507, allocations: 4.935 MB / 1.092 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.3513, allocations: 40.03 kB / 1.092 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.3513, allocations: 27.94 kB / 1.092 GB, free: 2.578 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003554/0.3517, allocations: 221.5 kB / 1.092 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3518, allocations: 63.25 kB / 1.092 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.3535, allocations: 0.7736 MB / 1.093 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3535, allocations: 4 kB / 1.093 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3535, allocations: 4 kB / 1.093 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3535, allocations: 7.984 kB / 1.093 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.3561, allocations: 1.494 MB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3561, allocations: 0 / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.3565, allocations: 71.88 kB / 1.094 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007149/0.3573, allocations: 210.6 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.3573, allocations: 8 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.362, allocations: 4.88 MB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3621, allocations: 4.031 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.3639, allocations: 1.131 MB / 1.1 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.3642, allocations: 176.5 kB / 1.1 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.3643, allocations: 8 kB / 1.1 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.3647, allocations: 23.97 kB / 1.1 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3648, allocations: 43.83 kB / 1.1 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3649, allocations: 11.94 kB / 1.1 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000418/0.3653, allocations: 318.9 kB / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3653, allocations: 0 / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007285/0.366, allocations: 172 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.3662, allocations: 111.2 kB / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.3679, allocations: 1 MB / 1.102 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.3679, allocations: 4 kB / 1.102 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.369, allocations: 0.6801 MB / 1.103 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3701, allocations: 169.8 kB / 1.103 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.3726, allocations: 1.629 MB / 1.104 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.3732, allocations: 0.9494 MB / 1.105 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3734, allocations: 39.44 kB / 1.105 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of SimCode: time 7.92e-07/0.3734, allocations: 0 / 1.105 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of Templates: time 0.0198/0.3932, allocations: 14.81 MB / 1.12 GB, free: 4.887 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches