Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.001107/0.001108, allocations: 108 kB / 15.61 MB, free: 152 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.001149/0.001149, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.7 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.31 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3125, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006396/0.319, allocations: 5.466 MB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.3231, allocations: 2.615 MB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.3235, allocations: 27.88 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.3253, allocations: 0.6846 MB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.3264, allocations: 405.7 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.3276, allocations: 390.5 kB / 1.078 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.3289, allocations: 0.9552 MB / 1.079 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008741/0.3298, allocations: 470.8 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.3305, allocations: 366.6 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.3311, allocations: 410.3 kB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.3312, allocations: 48 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.3319, allocations: 363.3 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.3321, allocations: 239.4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.3325, allocations: 354.1 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3336, allocations: 0.9578 MB / 1.082 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3336, allocations: 0 / 1.082 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3336, allocations: 8 kB / 1.082 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3337, allocations: 0 / 1.082 GB, free: 12.68 MB / 0.8419 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.00162/0.3353, allocations: 0.966 MB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3353, allocations: 8.031 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3367, allocations: 199.8 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.3374, allocations: 486.5 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3375, allocations: 41.38 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.3376, allocations: 56.44 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3388, allocations: 0.8333 MB / 1.084 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.3388, allocations: 4 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.3389, allocations: 20 kB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/0.3391, allocations: 64.95 kB / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.34, allocations: 0.5696 MB / 1.085 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.3445, allocations: 4.589 MB / 1.089 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.345, allocations: 291.3 kB / 1.09 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.3453, allocations: 225.3 kB / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3454, allocations: 4.281 kB / 1.09 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3454, allocations: 42.78 kB / 1.09 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.3454, allocations: 0 / 1.09 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005596/0.351, allocations: 2.635 MB / 1.092 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3511, allocations: 59.34 kB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.3516, allocations: 453.9 kB / 1.093 GB, free: 496 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.3516, allocations: 37.7 kB / 1.093 GB, free: 452 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.3519, allocations: 339.6 kB / 1.093 GB, free: 104 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.352, allocations: 142.1 kB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3522, allocations: 110.1 kB / 1.093 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3524, allocations: 366.7 kB / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.3528, allocations: 237 kB / 1.094 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.3533, allocations: 406.5 kB / 1.094 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.3542, allocations: 0.6778 MB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3542, allocations: 4 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001766/0.3559, allocations: 0.9171 MB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.356, allocations: 8 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.356, allocations: 7.984 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008105/0.3568, allocations: 231 kB / 1.096 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.3573, allocations: 115.8 kB / 1.096 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005432/0.3628, allocations: 5.34 MB / 1.102 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.3633, allocations: 27.97 kB / 1.102 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3633, allocations: 28.06 kB / 1.102 GB, free: 6.906 MB / 0.8575 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.0003131/0.3637, allocations: 217.7 kB / 1.102 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.3638, allocations: 59.28 kB / 1.102 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.3654, allocations: 0.781 MB / 1.103 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3654, allocations: 4 kB / 1.103 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3654, allocations: 4 kB / 1.103 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.3654, allocations: 3.984 kB / 1.103 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.3678, allocations: 1.502 MB / 1.104 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3678, allocations: 0 / 1.104 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.3682, allocations: 71.88 kB / 1.104 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.3689, allocations: 206.6 kB / 1.104 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3689, allocations: 8 kB / 1.104 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.3739, allocations: 5.281 MB / 1.11 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3739, allocations: 0 / 1.11 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.3757, allocations: 1.139 MB / 1.111 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.376, allocations: 164.4 kB / 1.111 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.3761, allocations: 11.94 kB / 1.111 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.3764, allocations: 27.97 kB / 1.111 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.942e-05/0.3765, allocations: 36.02 kB / 1.111 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3765, allocations: 12 kB / 1.111 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003774/0.3769, allocations: 310.9 kB / 1.111 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3769, allocations: 0 / 1.111 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006608/0.3776, allocations: 172 kB / 1.111 GB, free: 12.31 MB / 0.8731 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.000169/0.3777, allocations: 107.7 kB / 1.111 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.3794, allocations: 1.063 MB / 1.112 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3794, allocations: 4 kB / 1.112 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.3803, allocations: 0.6721 MB / 1.113 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.3812, allocations: 189 kB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3833, allocations: 1.27 MB / 1.115 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.3839, allocations: 0.9416 MB / 1.115 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003552/0.3843, allocations: 113 kB / 1.116 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3844, allocations: 39.44 kB / 1.116 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.3844, allocations: 0 / 1.116 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of Templates: time 0.01563/0.4, allocations: 8.844 MB / 1.124 GB, free: 15.03 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches