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.001555/0.001555, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001661/0.001661, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.17 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.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 67.28 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2764, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02373/0.3002, allocations: 20.25 MB / 0.9709 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3121, allocations: 6.449 MB / 0.9772 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.3146, allocations: 87.56 kB / 0.9773 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005918/0.3206, allocations: 2.236 MB / 0.9795 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.324, allocations: 1.177 MB / 0.9806 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.3273, allocations: 1.294 MB / 0.9819 GB, free: 8.453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005328/0.3326, allocations: 4.842 MB / 0.9866 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006513/0.3392, allocations: 5.583 MB / 0.9921 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.342, allocations: 2.091 MB / 0.9941 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.3455, allocations: 2.336 MB / 0.9964 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009451/0.3465, allocations: 432 kB / 0.9968 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3487, allocations: 1.003 MB / 0.9978 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002025/0.3508, allocations: 1.672 MB / 0.9994 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004063/0.3548, allocations: 1.914 MB / 1.001 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00597/0.3608, allocations: 6.513 MB / 1.008 GB, free: 13.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3609, allocations: 0 / 1.008 GB, free: 13.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3609, allocations: 4 kB / 1.008 GB, free: 13.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001217/0.361, allocations: 4 kB / 1.008 GB, free: 13.94 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.006208/0.3672, allocations: 3.452 MB / 1.011 GB, free: 10.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3673, allocations: 8.031 kB / 1.011 GB, free: 10.42 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.3704, allocations: 0.6372 MB / 1.012 GB, free: 9.777 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.3745, allocations: 2.049 MB / 1.014 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.3747, allocations: 226.3 kB / 1.014 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/0.3753, allocations: 292.3 kB / 1.014 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008292/0.3836, allocations: 4.89 MB / 1.019 GB, free: 2.078 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.385e-05/0.3837, allocations: 23.77 kB / 1.019 GB, free: 2.055 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.384, allocations: 128 kB / 1.019 GB, free: 1.93 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004009/0.3844, allocations: 225.7 kB / 1.019 GB, free: 1.707 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.3904, allocations: 3.754 MB / 1.023 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.4125, allocations: 21.4 MB / 1.044 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.4142, allocations: 1.3 MB / 1.045 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.4157, allocations: 1.057 MB / 1.046 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/0.4158, allocations: 13 kB / 1.046 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.4159, allocations: 43.56 kB / 1.046 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.4159, allocations: 3.938 kB / 1.046 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=138): time 0.02316/0.4391, allocations: 8.649 MB / 1.055 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.4392, allocations: 64.72 kB / 1.055 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.4408, allocations: 1.134 MB / 1.056 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.441, allocations: 49.7 kB / 1.056 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008478/0.4418, allocations: 1.296 MB / 1.057 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.4422, allocations: 481.1 kB / 1.058 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004973/0.4427, allocations: 287.4 kB / 1.058 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4429, allocations: 313.1 kB / 1.058 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.4442, allocations: 0.9135 MB / 1.059 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.4457, allocations: 1.322 MB / 1.06 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.4488, allocations: 2.426 MB / 1.063 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.4488, allocations: 4 kB / 1.063 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006013/0.4548, allocations: 3.467 MB / 1.066 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.4549, allocations: 12 kB / 1.066 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.4549, allocations: 12 kB / 1.066 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.4581, allocations: 1.195 MB / 1.067 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.459, allocations: 255.6 kB / 1.068 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5516/1.011, allocations: 13.83 MB / 1.081 GB, free: 121.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.012, allocations: 90.27 kB / 1.081 GB, free: 121.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.013, allocations: 62.81 kB / 1.081 GB, free: 121.6 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.002563/1.015, allocations: 1.117 MB / 1.082 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/1.016, allocations: 162.3 kB / 1.082 GB, free: 121.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006269/1.022, allocations: 3.173 MB / 1.086 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/1.022, allocations: 15.92 kB / 1.086 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/1.022, allocations: 11.5 kB / 1.086 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.022, allocations: 12.11 kB / 1.086 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.035, allocations: 6.242 MB / 1.092 GB, free: 118.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.035, allocations: 6.219 kB / 1.092 GB, free: 118.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/1.035, allocations: 147 kB / 1.092 GB, free: 118.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/1.038, allocations: 1.077 MB / 1.093 GB, free: 118 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.039, allocations: 26.53 kB / 1.093 GB, free: 118 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.055, allocations: 13.53 MB / 1.106 GB, free: 109.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.055, allocations: 12.62 kB / 1.106 GB, free: 109.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/1.062, allocations: 3.147 MB / 1.109 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.063, allocations: 423.7 kB / 1.11 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/1.063, allocations: 36.41 kB / 1.11 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/1.064, allocations: 82.8 kB / 1.11 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/1.064, allocations: 126 kB / 1.11 GB, free: 108.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.064, allocations: 37.91 kB / 1.11 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001362/1.066, allocations: 0.7672 MB / 1.111 GB, free: 107.9 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.213e-06/1.066, allocations: 1.406 kB / 1.111 GB, free: 107.9 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002759/1.069, allocations: 0.6574 MB / 1.111 GB, free: 107.9 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.0002834/1.069, allocations: 144.1 kB / 1.111 GB, free: 107.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005238/1.074, allocations: 3.143 MB / 1.114 GB, free: 106.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.074, allocations: 5.938 kB / 1.114 GB, free: 106.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/1.077, allocations: 1.939 MB / 1.116 GB, free: 105.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.08, allocations: 0.506 MB / 1.117 GB, free: 105.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.09, allocations: 5.379 MB / 1.122 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.093, allocations: 2.34 MB / 1.124 GB, free: 101.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001197/1.094, allocations: 348.3 kB / 1.125 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.094, allocations: 89.66 kB / 1.125 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of SimCode: time 7.12e-07/1.094, allocations: 4.734 kB / 1.125 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.04995/1.144, allocations: 32.67 MB / 1.157 GB, free: 80.47 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 gbode -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