Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001704/0.001704, 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.002221/0.002221, allocations: 188.6 kB / 16.25 MB, free: 6.637 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.579/1.579, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8083, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006865/0.8152, allocations: 5.567 MB / 0.9546 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00456/0.8198, allocations: 2.626 MB / 0.9571 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005263/0.8204, allocations: 24.28 kB / 0.9571 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.8222, allocations: 0.625 MB / 0.9577 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.8232, allocations: 381.4 kB / 0.9581 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.8241, allocations: 371.9 kB / 0.9585 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008507/0.825, allocations: 0.966 MB / 0.9594 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.8257, allocations: 0.5098 MB / 0.9599 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.8261, allocations: 378.1 kB / 0.9603 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.8267, allocations: 423 kB / 0.9607 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.8268, allocations: 47.44 kB / 0.9607 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.8275, allocations: 358.1 kB / 0.9611 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.8278, allocations: 247 kB / 0.9613 GB, free: 112 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.8282, allocations: 355.1 kB / 0.9616 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.8294, allocations: 0.9918 MB / 0.9626 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8294, allocations: 0 / 0.9626 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8294, allocations: 1.375 kB / 0.9626 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.8294, allocations: 3.938 kB / 0.9626 GB, free: 15.21 MB / 0.7325 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.001996/0.8314, allocations: 0.9706 MB / 0.9636 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.8315, allocations: 10.03 kB / 0.9636 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.8332, allocations: 199.9 kB / 0.9638 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.8341, allocations: 494.7 kB / 0.9642 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.8342, allocations: 37.42 kB / 0.9643 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.8344, allocations: 51.62 kB / 0.9643 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.8363, allocations: 0.828 MB / 0.9651 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.8363, allocations: 6.188 kB / 0.9651 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.8364, allocations: 26.83 kB / 0.9652 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/0.8366, allocations: 66.64 kB / 0.9652 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.8378, allocations: 0.5717 MB / 0.9658 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.8434, allocations: 4.591 MB / 0.9703 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.844, allocations: 291.8 kB / 0.9705 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.8443, allocations: 226.8 kB / 0.9708 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.8444, allocations: 7.5 kB / 0.9708 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.8444, allocations: 37.06 kB / 0.9708 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.8444, allocations: 4 kB / 0.9708 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005975/0.8504, allocations: 2.636 MB / 0.9734 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.8505, allocations: 55.75 kB / 0.9734 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.8511, allocations: 469.5 kB / 0.9739 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.8511, allocations: 32.17 kB / 0.9739 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.8514, allocations: 347.3 kB / 0.9742 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.8515, allocations: 140.8 kB / 0.9744 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.8517, allocations: 105.8 kB / 0.9745 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.8519, allocations: 363 kB / 0.9748 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.8523, allocations: 235.5 kB / 0.975 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.8529, allocations: 414.5 kB / 0.9754 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.8539, allocations: 0.6779 MB / 0.9761 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8539, allocations: 1.406 kB / 0.9761 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001872/0.8558, allocations: 0.9204 MB / 0.977 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.8558, allocations: 7.781 kB / 0.977 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.8558, allocations: 8.875 kB / 0.977 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008536/0.8567, allocations: 230 kB / 0.9772 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.8572, allocations: 117.2 kB / 0.9773 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.8626, allocations: 5.338 MB / 0.9826 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.8633, allocations: 31.97 kB / 0.9826 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.8633, allocations: 20 kB / 0.9826 GB, free: 14.45 MB / 0.7481 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.0004105/0.8637, allocations: 221.6 kB / 0.9828 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.8638, allocations: 59.48 kB / 0.9829 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.8655, allocations: 0.7736 MB / 0.9836 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8655, allocations: 7.938 kB / 0.9836 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.8655, allocations: 8 kB / 0.9836 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.8655, allocations: 3.984 kB / 0.9837 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.868, allocations: 1.494 MB / 0.9851 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8681, allocations: 0 / 0.9851 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.8684, allocations: 71.88 kB / 0.9852 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006991/0.8691, allocations: 210.5 kB / 0.9854 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.009e-05/0.8692, allocations: 8 kB / 0.9854 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.8744, allocations: 5.273 MB / 0.9905 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.8744, allocations: 12.03 kB / 0.9905 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.8765, allocations: 1.135 MB / 0.9917 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.8769, allocations: 168.4 kB / 0.9918 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.877, allocations: 15.94 kB / 0.9918 GB, free: 4.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.8774, allocations: 32.02 kB / 0.9919 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.8775, allocations: 31.91 kB / 0.9919 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.8776, allocations: 12 kB / 0.9919 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004079/0.878, allocations: 322.8 kB / 0.9922 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.878, allocations: 0 / 0.9922 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009135/0.8789, allocations: 168 kB / 0.9924 GB, free: 3.832 MB / 0.7481 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.0001799/0.8791, allocations: 119.1 kB / 0.9925 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.8809, allocations: 1.063 MB / 0.9935 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.8809, allocations: 4.125 kB / 0.9935 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.8819, allocations: 0.689 MB / 0.9942 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.883, allocations: 182.6 kB / 0.9944 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.8855, allocations: 1.503 MB / 0.9958 GB, free: 156 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.8862, allocations: 0.9533 MB / 0.9968 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004414/0.8867, allocations: 117 kB / 0.9969 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.8868, allocations: 43.42 kB / 0.9969 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of SimCode: time 2.51e-07/0.8868, allocations: 0 / 0.9969 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of Templates: time 0.01691/0.9037, allocations: 8.909 MB / 1.006 GB, free: 6.219 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches