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.001114/0.001114, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001439/0.001439, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 14.86 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3792, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007418/0.3867, allocations: 4.901 MB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004775/0.3915, allocations: 2.503 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005748/0.3921, allocations: 23.81 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.3926, allocations: 103.1 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.3937, allocations: 330.2 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.3946, allocations: 298.5 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.3957, allocations: 1.057 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.3971, allocations: 0.7476 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.3976, allocations: 310.7 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.3981, allocations: 374.6 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.3982, allocations: 24 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.3986, allocations: 187.7 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.3989, allocations: 219.4 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.399, allocations: 149.3 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.3997, allocations: 0.7171 MB / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3998, allocations: 0 / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3998, allocations: 0 / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3998, allocations: 0 / 1.07 GB, free: 9.301 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.001429/0.4012, allocations: 0.8645 MB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4013, allocations: 8.031 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.4025, allocations: 202.8 kB / 1.071 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/0.4032, allocations: 473.5 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.4033, allocations: 36.98 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4034, allocations: 59.84 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4045, allocations: 0.82 MB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4045, allocations: 3.938 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.4046, allocations: 23.98 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.4048, allocations: 72.89 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/0.4057, allocations: 0.5697 MB / 1.073 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.4099, allocations: 4.585 MB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.4104, allocations: 311.1 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4107, allocations: 225.3 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.4107, allocations: 4.281 kB / 1.078 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.4108, allocations: 30.84 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.4108, allocations: 4 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.005461/0.4162, allocations: 2.631 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4163, allocations: 55.41 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.4168, allocations: 462 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4169, allocations: 33.7 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.4171, allocations: 343.6 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4173, allocations: 142 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.4173, allocations: 16 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4175, allocations: 362.8 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.4179, allocations: 237 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.4184, allocations: 406.4 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.4188, allocations: 293.7 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4188, allocations: 0 / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001587/0.4204, allocations: 0.9178 MB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4204, allocations: 8 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4205, allocations: 4 kB / 1.083 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007282/0.4212, allocations: 226.5 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.4217, allocations: 119.8 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/0.4264, allocations: 4.923 MB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.4268, allocations: 35.92 kB / 1.089 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.4269, allocations: 28.06 kB / 1.089 GB, free: 4.629 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.4272, allocations: 225.6 kB / 1.089 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.4273, allocations: 55.34 kB / 1.089 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.4288, allocations: 0.7773 MB / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4288, allocations: 4 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4288, allocations: 7.938 kB / 1.09 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4288, allocations: 3.984 kB / 1.09 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.4311, allocations: 1.498 MB / 1.091 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4311, allocations: 8 kB / 1.091 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.4315, allocations: 67.88 kB / 1.091 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006233/0.4321, allocations: 206.7 kB / 1.091 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.4322, allocations: 12 kB / 1.091 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.4368, allocations: 4.869 MB / 1.096 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4369, allocations: 7.984 kB / 1.096 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.4387, allocations: 1.123 MB / 1.097 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.4389, allocations: 168.4 kB / 1.097 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.439, allocations: 15.98 kB / 1.097 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.4393, allocations: 28.03 kB / 1.097 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.4394, allocations: 39.84 kB / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.4394, allocations: 12 kB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003635/0.4398, allocations: 310.9 kB / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.134e-06/0.4398, allocations: 0 / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007039/0.4405, allocations: 171.9 kB / 1.098 GB, free: 10.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.4407, allocations: 119.2 kB / 1.098 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.4423, allocations: 1.001 MB / 1.099 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4424, allocations: 4.125 kB / 1.099 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.4433, allocations: 0.6796 MB / 1.1 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.4442, allocations: 170.3 kB / 1.1 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.4467, allocations: 1.499 MB / 1.101 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.4473, allocations: 0.9533 MB / 1.102 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.4478, allocations: 113 kB / 1.102 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4479, allocations: 39.44 kB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/0.4479, allocations: 0 / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of Templates: time 0.01529/0.4632, allocations: 8.155 MB / 1.11 GB, free: 13.68 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/jenkins/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