Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001409/0.001409, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.00154/0.00154, allocations: 191 kB / 17.29 MB, free: 5.516 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 70.3 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3151, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02393/0.3391, allocations: 20.26 MB / 0.9709 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.3508, allocations: 6.449 MB / 0.9772 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.3534, allocations: 91.56 kB / 0.9773 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006072/0.3596, allocations: 2.24 MB / 0.9795 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.3635, allocations: 1.181 MB / 0.9806 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.3672, allocations: 1.278 MB / 0.9819 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006601/0.3738, allocations: 4.846 MB / 0.9866 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007319/0.3812, allocations: 5.595 MB / 0.9921 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.3861, allocations: 2.084 MB / 0.9941 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004414/0.3906, allocations: 2.336 MB / 0.9964 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009089/0.3915, allocations: 432 kB / 0.9968 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.3939, allocations: 1.006 MB / 0.9978 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.3959, allocations: 1.672 MB / 0.9994 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003471/0.3994, allocations: 1.91 MB / 1.001 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007515/0.407, allocations: 6.517 MB / 1.008 GB, free: 13.93 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.407, allocations: 0 / 1.008 GB, free: 13.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.407, allocations: 0 / 1.008 GB, free: 13.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002078/0.4072, allocations: 0 / 1.008 GB, free: 13.93 MB / 0.795 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.008915/0.4162, allocations: 3.456 MB / 1.011 GB, free: 10.41 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4162, allocations: 16.03 kB / 1.011 GB, free: 10.4 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/0.4202, allocations: 0.6294 MB / 1.012 GB, free: 9.766 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00617/0.4264, allocations: 2.053 MB / 1.014 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.4266, allocations: 222.3 kB / 1.014 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.4278, allocations: 292.4 kB / 1.014 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.4379, allocations: 4.878 MB / 1.019 GB, free: 2.074 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.611e-05/0.4381, allocations: 19.83 kB / 1.019 GB, free: 2.055 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.4384, allocations: 132 kB / 1.019 GB, free: 1.926 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004804/0.4389, allocations: 229.7 kB / 1.019 GB, free: 1.699 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/0.4466, allocations: 3.746 MB / 1.023 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02767/0.4743, allocations: 21.4 MB / 1.044 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.4762, allocations: 1.31 MB / 1.045 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4777, allocations: 1.053 MB / 1.046 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.328e-05/0.4778, allocations: 9 kB / 1.046 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.4778, allocations: 51.56 kB / 1.046 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=107): time 3.286e-06/0.4778, allocations: 0 / 1.046 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=138): time 0.02399/0.5018, allocations: 8.652 MB / 1.055 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.5019, allocations: 68.66 kB / 1.055 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.5039, allocations: 1.138 MB / 1.056 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.5042, allocations: 45.7 kB / 1.056 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.5055, allocations: 1.296 MB / 1.057 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/0.5062, allocations: 485.1 kB / 1.058 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006837/0.5069, allocations: 283.4 kB / 1.058 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5071, allocations: 313.1 kB / 1.058 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.5087, allocations: 0.9135 MB / 1.059 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.5106, allocations: 1.33 MB / 1.06 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/0.5144, allocations: 2.418 MB / 1.063 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.5144, allocations: 4 kB / 1.063 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006847/0.5213, allocations: 3.476 MB / 1.066 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.5214, allocations: 8 kB / 1.066 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.5214, allocations: 16 kB / 1.066 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.5247, allocations: 1.19 MB / 1.067 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.5257, allocations: 255.6 kB / 1.068 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6471/1.173, allocations: 13.82 MB / 1.081 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.175, allocations: 89.8 kB / 1.081 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.175, allocations: 63.45 kB / 1.081 GB, free: 121.4 MB / 0.8575 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.00283/1.178, allocations: 1.118 MB / 1.082 GB, free: 121.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.178, allocations: 164.1 kB / 1.082 GB, free: 121.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007378/1.186, allocations: 3.168 MB / 1.086 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.186, allocations: 14.97 kB / 1.086 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.414e-05/1.186, allocations: 12.03 kB / 1.086 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/1.186, allocations: 10.97 kB / 1.086 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/1.203, allocations: 6.244 MB / 1.092 GB, free: 118.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.203, allocations: 4.219 kB / 1.092 GB, free: 118.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/1.204, allocations: 162.1 kB / 1.092 GB, free: 118 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/1.207, allocations: 1.074 MB / 1.093 GB, free: 117.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.207, allocations: 26.09 kB / 1.093 GB, free: 117.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/1.228, allocations: 13.53 MB / 1.106 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.228, allocations: 8.703 kB / 1.106 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006958/1.235, allocations: 3.155 MB / 1.109 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.237, allocations: 426 kB / 1.11 GB, free: 108.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/1.237, allocations: 30.92 kB / 1.11 GB, free: 108.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/1.238, allocations: 83.73 kB / 1.11 GB, free: 108 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005809/1.239, allocations: 123.3 kB / 1.11 GB, free: 108 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.239, allocations: 39.06 kB / 1.11 GB, free: 108 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001461/1.24, allocations: 0.7681 MB / 1.111 GB, free: 107.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.24, allocations: 0 / 1.111 GB, free: 107.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00356/1.244, allocations: 0.6601 MB / 1.111 GB, free: 107.6 MB / 0.8575 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.0003871/1.244, allocations: 141.4 kB / 1.111 GB, free: 107.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006497/1.251, allocations: 3.14 MB / 1.114 GB, free: 106.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.251, allocations: 1.375 kB / 1.114 GB, free: 106.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/1.254, allocations: 1.955 MB / 1.116 GB, free: 105.1 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/1.258, allocations: 0.5069 MB / 1.117 GB, free: 105 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.268, allocations: 5.379 MB / 1.122 GB, free: 102.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/1.271, allocations: 2.339 MB / 1.124 GB, free: 101.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001375/1.272, allocations: 352 kB / 1.125 GB, free: 101.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.272, allocations: 90.09 kB / 1.125 GB, free: 101.5 MB / 0.8575 GB Notification: Performance of SimCode: time 1.162e-06/1.272, allocations: 0 / 1.125 GB, free: 101.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.05204/1.324, allocations: 32.67 MB / 1.157 GB, free: 80.41 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches