Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, 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.001866/0.001866, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.652/2.652, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7578, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0222/0.7801, allocations: 20.12 MB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.7918, allocations: 6.441 MB / 1.043 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.7947, allocations: 75.62 kB / 1.043 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.8002, allocations: 2.09 MB / 1.045 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.8042, allocations: 1.108 MB / 1.046 GB, free: 4.836 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.808, allocations: 1.173 MB / 1.047 GB, free: 3.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.8189, allocations: 6.971 MB / 1.054 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009408/0.8283, allocations: 6.174 MB / 1.06 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.832, allocations: 1.783 MB / 1.061 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004431/0.8365, allocations: 2.387 MB / 1.064 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007213/0.8372, allocations: 292 kB / 1.064 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.8397, allocations: 1.026 MB / 1.065 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.8416, allocations: 1.536 MB / 1.067 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002485/0.8441, allocations: 1.754 MB / 1.068 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008114/0.8522, allocations: 6.411 MB / 1.075 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.8522, allocations: 0 / 1.075 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8522, allocations: 0 / 1.075 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002336/0.8525, allocations: 0 / 1.075 GB, free: 7.211 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009207/0.8617, allocations: 3.452 MB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.8618, allocations: 8.031 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.8653, allocations: 0.641 MB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.869, allocations: 1.94 MB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.8691, allocations: 218.3 kB / 1.081 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/0.8697, allocations: 300.2 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008628/0.8783, allocations: 4.886 MB / 1.086 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.952e-05/0.8784, allocations: 19.86 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003059/0.8787, allocations: 124 kB / 1.086 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004306/0.8792, allocations: 225.7 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006704/0.8859, allocations: 3.758 MB / 1.09 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02514/0.911, allocations: 21.57 MB / 1.111 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.9129, allocations: 1.302 MB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.9143, allocations: 1.053 MB / 1.113 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/0.9144, allocations: 16.94 kB / 1.113 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.9145, allocations: 51.5 kB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 4.248e-06/0.9145, allocations: 0 / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02334/0.9378, allocations: 8.645 MB / 1.122 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.9379, allocations: 68.72 kB / 1.122 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.9395, allocations: 1.126 MB / 1.123 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.9396, allocations: 49.7 kB / 1.123 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.9405, allocations: 1.304 MB / 1.124 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.9409, allocations: 481.1 kB / 1.125 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004498/0.9413, allocations: 291.3 kB / 1.125 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.9414, allocations: 305.1 kB / 1.125 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.9427, allocations: 0.9135 MB / 1.126 GB, free: 36 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.9442, allocations: 1.33 MB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.9472, allocations: 2.426 MB / 1.13 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9472, allocations: 4 kB / 1.13 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006017/0.9532, allocations: 3.46 MB / 1.133 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.9533, allocations: 18.12 kB / 1.133 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.9533, allocations: 12 kB / 1.133 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.9565, allocations: 1.177 MB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009429/0.9575, allocations: 259.6 kB / 1.134 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.9738, allocations: 12.72 MB / 1.147 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.9756, allocations: 87.98 kB / 1.147 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.9757, allocations: 67.98 kB / 1.147 GB, free: 9.719 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002131/0.9779, allocations: 1.103 MB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.9783, allocations: 174 kB / 1.148 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/0.9839, allocations: 3.165 MB / 1.151 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.9839, allocations: 12 kB / 1.151 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.092e-05/0.984, allocations: 12 kB / 1.151 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.984, allocations: 11.91 kB / 1.151 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.9945, allocations: 6.256 MB / 1.158 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.9945, allocations: 4 kB / 1.158 GB, free: 14.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.9951, allocations: 143.8 kB / 1.158 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002852/0.9979, allocations: 1.071 MB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.9981, allocations: 32 kB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/1.014, allocations: 12.41 MB / 1.171 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.014, allocations: 4 kB / 1.171 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/1.019, allocations: 3.154 MB / 1.174 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008737/1.02, allocations: 423.1 kB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/1.02, allocations: 32 kB / 1.174 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/1.021, allocations: 87.83 kB / 1.174 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/1.022, allocations: 124.7 kB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/1.022, allocations: 36 kB / 1.175 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001059/1.023, allocations: 0.7709 MB / 1.175 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.023, allocations: 0 / 1.175 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002205/1.025, allocations: 0.6641 MB / 1.176 GB, free: 11.36 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/1.025, allocations: 139.1 kB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004852/1.03, allocations: 3.127 MB / 1.179 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.03, allocations: 4 kB / 1.179 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/1.033, allocations: 1.948 MB / 1.181 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.035, allocations: 463.6 kB / 1.182 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.046, allocations: 6.75 MB / 1.188 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.048, allocations: 2.34 MB / 1.19 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001237/1.049, allocations: 350.1 kB / 1.191 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/1.05, allocations: 91.42 kB / 1.191 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/1.05, allocations: 0 / 1.191 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.05348/1.103, allocations: 31.64 MB / 1.222 GB, free: 12.74 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches