Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001872/0.001872, allocations: 108 kB / 15.6 MB, free: 132 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.002133/0.002133, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.524/1.524, allocations: 222.9 MB / 240.2 MB, free: 4.363 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 2.807/2.807, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001973, allocations: 63.89 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7225/0.7245, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00796/0.7325, allocations: 5.54 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.7372, allocations: 2.646 MB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.7376, allocations: 23.88 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.7396, allocations: 0.6845 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.7412, allocations: 405.8 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.7426, allocations: 417.8 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.7439, allocations: 0.9551 MB / 1.028 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007417/0.7446, allocations: 468.5 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.7452, allocations: 370.6 kB / 1.029 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.7457, allocations: 406.4 kB / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.7458, allocations: 51.94 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007171/0.7465, allocations: 359.3 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.7468, allocations: 251.3 kB / 1.03 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003607/0.7472, allocations: 346.2 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.7483, allocations: 0.9656 MB / 1.031 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7483, allocations: 4 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7483, allocations: 4 kB / 1.031 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.7483, allocations: 0 / 1.031 GB, free: 4.594 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00171/0.7501, allocations: 0.9621 MB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7501, allocations: 16.02 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.7515, allocations: 199.8 kB / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.7523, allocations: 498.4 kB / 1.032 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.7524, allocations: 41.36 kB / 1.032 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.7525, allocations: 52.55 kB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.7538, allocations: 0.8356 MB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.7539, allocations: 7.906 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.7539, allocations: 23.98 kB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.7542, allocations: 64.95 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009466/0.7551, allocations: 0.5735 MB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004975/0.7601, allocations: 4.573 MB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.7606, allocations: 299.3 kB / 1.039 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.761, allocations: 225.3 kB / 1.039 GB, free: 11.72 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.761, allocations: 8.266 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.7611, allocations: 38.78 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.7611, allocations: 0 / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.006043/0.7671, allocations: 2.63 MB / 1.042 GB, free: 8.906 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.7672, allocations: 59.34 kB / 1.042 GB, free: 8.836 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.7677, allocations: 469.9 kB / 1.042 GB, free: 8.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.7678, allocations: 29.7 kB / 1.042 GB, free: 8.332 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.768, allocations: 347.6 kB / 1.042 GB, free: 7.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.7682, allocations: 142 kB / 1.043 GB, free: 7.844 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.7684, allocations: 110.1 kB / 1.043 GB, free: 7.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7686, allocations: 362.7 kB / 1.043 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.7689, allocations: 241 kB / 1.043 GB, free: 7.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.7695, allocations: 402.5 kB / 1.044 GB, free: 6.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.7705, allocations: 0.6739 MB / 1.044 GB, free: 5.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.7705, allocations: 7.938 kB / 1.044 GB, free: 5.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001789/0.7723, allocations: 0.9246 MB / 1.045 GB, free: 4.969 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7723, allocations: 8 kB / 1.045 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7723, allocations: 4 kB / 1.045 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008527/0.7732, allocations: 235 kB / 1.045 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.7737, allocations: 107.8 kB / 1.046 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/0.7796, allocations: 5.343 MB / 1.051 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.7801, allocations: 36.03 kB / 1.051 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.7801, allocations: 24 kB / 1.051 GB, free: 14.78 MB / 0.8106 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.0003345/0.7805, allocations: 221.6 kB / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.7806, allocations: 59.28 kB / 1.051 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.7822, allocations: 0.7811 MB / 1.052 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7822, allocations: 4 kB / 1.052 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7822, allocations: 0 / 1.052 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7822, allocations: 3.984 kB / 1.052 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.7848, allocations: 1.499 MB / 1.053 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.7848, allocations: 0 / 1.053 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.7852, allocations: 64.14 kB / 1.053 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007199/0.7859, allocations: 218.5 kB / 1.054 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.786, allocations: 16 kB / 1.054 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005562/0.7916, allocations: 5.274 MB / 1.059 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7916, allocations: 0 / 1.059 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.7935, allocations: 1.131 MB / 1.06 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.7938, allocations: 172.4 kB / 1.06 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.7939, allocations: 11.94 kB / 1.06 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.7942, allocations: 23.97 kB / 1.06 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.7943, allocations: 40.02 kB / 1.06 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.7944, allocations: 12 kB / 1.06 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003773/0.7948, allocations: 314.9 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7948, allocations: 0 / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007328/0.7955, allocations: 172 kB / 1.061 GB, free: 4.191 MB / 0.8106 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.0001827/0.7957, allocations: 116.8 kB / 1.061 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.7975, allocations: 1.063 MB / 1.062 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7975, allocations: 0 / 1.062 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7986, allocations: 0.6721 MB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.7995, allocations: 183.8 kB / 1.063 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.8019, allocations: 1.278 MB / 1.064 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.8027, allocations: 0.9532 MB / 1.065 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.8032, allocations: 117 kB / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.8033, allocations: 35.44 kB / 1.065 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 1.212e-06/0.8033, allocations: 3.938 kB / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.01813/0.8215, allocations: 8.859 MB / 1.074 GB, free: 6.871 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches