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.001704/0.001704, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001683/0.001683, allocations: 194.5 kB / 16.14 MB, free: 6.629 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.777/2.777, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 59.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7094, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008381/0.7178, allocations: 5.558 MB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004922/0.7228, allocations: 2.654 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.7232, allocations: 23.88 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.7251, allocations: 0.6481 MB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.7261, allocations: 386.2 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.7272, allocations: 372.5 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.7285, allocations: 1.248 MB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007925/0.7293, allocations: 456 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.7298, allocations: 330.5 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.7304, allocations: 418.4 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.681e-05/0.7305, allocations: 32 kB / 1.028 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.7314, allocations: 443 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.7317, allocations: 235.3 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.7321, allocations: 326.3 kB / 1.029 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.7332, allocations: 0.981 MB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7332, allocations: 0 / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7333, allocations: 0 / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.7333, allocations: 0 / 1.03 GB, free: 4.672 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.001902/0.7352, allocations: 0.9755 MB / 1.031 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.7352, allocations: 8.031 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.7367, allocations: 191.8 kB / 1.032 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.7375, allocations: 0.4945 MB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.7376, allocations: 37.36 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.7377, allocations: 56.55 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.7391, allocations: 0.8318 MB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.7391, allocations: 3.906 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.7392, allocations: 23.98 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.7394, allocations: 68.94 kB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/0.7404, allocations: 0.5735 MB / 1.034 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/0.7457, allocations: 4.585 MB / 1.038 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.7462, allocations: 291.3 kB / 1.038 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.7466, allocations: 229.3 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.7466, allocations: 8.281 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.7467, allocations: 42.78 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.7467, allocations: 0 / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.006109/0.7528, allocations: 2.618 MB / 1.041 GB, free: 8.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.7528, allocations: 55.41 kB / 1.041 GB, free: 8.914 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.7534, allocations: 466 kB / 1.042 GB, free: 8.449 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.7535, allocations: 41.7 kB / 1.042 GB, free: 8.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.7538, allocations: 347.6 kB / 1.042 GB, free: 8.055 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.754, allocations: 137.9 kB / 1.042 GB, free: 7.918 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.7542, allocations: 106.2 kB / 1.042 GB, free: 7.809 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.7544, allocations: 358.8 kB / 1.043 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.7548, allocations: 244.9 kB / 1.043 GB, free: 7.211 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.7553, allocations: 410.4 kB / 1.043 GB, free: 6.73 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.7563, allocations: 0.6779 MB / 1.044 GB, free: 5.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.7564, allocations: 4 kB / 1.044 GB, free: 5.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001846/0.7582, allocations: 0.9207 MB / 1.045 GB, free: 5.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.7583, allocations: 11.98 kB / 1.045 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7583, allocations: 4.656 kB / 1.045 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008375/0.7591, allocations: 222.4 kB / 1.045 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.7597, allocations: 119.8 kB / 1.045 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.7654, allocations: 4.931 MB / 1.05 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.7659, allocations: 31.97 kB / 1.05 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.766, allocations: 24 kB / 1.05 GB, free: 15.3 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.0004213/0.7664, allocations: 233.6 kB / 1.05 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7665, allocations: 59.34 kB / 1.05 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.7683, allocations: 0.7734 MB / 1.051 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7683, allocations: 8.078 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7683, allocations: 4 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7683, allocations: 3.984 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.7711, allocations: 1.494 MB / 1.052 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.7711, allocations: 4.031 kB / 1.052 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.7715, allocations: 67.94 kB / 1.053 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000752/0.7723, allocations: 206.3 kB / 1.053 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.7723, allocations: 12.19 kB / 1.053 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/0.7778, allocations: 4.868 MB / 1.058 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.7779, allocations: 7.969 kB / 1.058 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.7801, allocations: 1.131 MB / 1.059 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.7805, allocations: 172.4 kB / 1.059 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.03e-05/0.7806, allocations: 12 kB / 1.059 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.781, allocations: 23.97 kB / 1.059 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7812, allocations: 43.89 kB / 1.059 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.7812, allocations: 12 kB / 1.059 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004683/0.7817, allocations: 314.9 kB / 1.059 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7817, allocations: 0 / 1.059 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008525/0.7825, allocations: 168 kB / 1.059 GB, free: 5.117 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.0002251/0.7828, allocations: 116.5 kB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.7847, allocations: 1.004 MB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7847, allocations: 4 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.7858, allocations: 0.676 MB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000941/0.7868, allocations: 172.9 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.7893, allocations: 1.518 MB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.79, allocations: 0.9494 MB / 1.064 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.7904, allocations: 113 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.7905, allocations: 43.42 kB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.7905, allocations: 0 / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of Templates: time 0.01786/0.8084, allocations: 8.539 MB / 1.072 GB, free: 7.938 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