Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001369/0.001369, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001294/0.001294, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7892, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006407/0.7956, allocations: 5.539 MB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.8001, allocations: 2.646 MB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.8007, allocations: 25.69 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.8028, allocations: 0.6753 MB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.804, allocations: 429.2 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.8053, allocations: 414.2 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.8068, allocations: 0.953 MB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.8076, allocations: 468.1 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.8083, allocations: 385.5 kB / 1.1 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.809, allocations: 405.7 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.173e-05/0.8091, allocations: 47.88 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008674/0.81, allocations: 355.4 kB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.8104, allocations: 251.6 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.8108, allocations: 354.3 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.8123, allocations: 0.9729 MB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8124, allocations: 0.7812 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8124, allocations: 0 / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.8124, allocations: 0.6562 kB / 1.102 GB, free: 13.35 MB / 0.8731 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.002006/0.8144, allocations: 0.9822 MB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8145, allocations: 9.359 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.8161, allocations: 194.7 kB / 1.103 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.8172, allocations: 0.5219 MB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.8173, allocations: 33.5 kB / 1.104 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.8175, allocations: 64.62 kB / 1.104 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.8189, allocations: 0.8277 MB / 1.105 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.8189, allocations: 6.891 kB / 1.105 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.819, allocations: 31.75 kB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.8193, allocations: 67.27 kB / 1.105 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.8203, allocations: 0.5695 MB / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.8265, allocations: 4.578 MB / 1.11 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.827, allocations: 294.7 kB / 1.11 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.8274, allocations: 226.9 kB / 1.11 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.8274, allocations: 4.484 kB / 1.11 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.8274, allocations: 36.69 kB / 1.11 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.8275, allocations: 0 / 1.11 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005868/0.8333, allocations: 2.628 MB / 1.113 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.8334, allocations: 56 kB / 1.113 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.8341, allocations: 464.5 kB / 1.113 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-05/0.8341, allocations: 32.52 kB / 1.113 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.8345, allocations: 345.2 kB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.8346, allocations: 142.2 kB / 1.114 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.8348, allocations: 102.1 kB / 1.114 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.8351, allocations: 364.1 kB / 1.114 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.8355, allocations: 238 kB / 1.115 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.8361, allocations: 409.9 kB / 1.115 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.837, allocations: 0.6809 MB / 1.116 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.8371, allocations: 2.312 kB / 1.116 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001873/0.8389, allocations: 0.9203 MB / 1.117 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.839, allocations: 8 kB / 1.117 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.839, allocations: 4.219 kB / 1.117 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000832/0.8398, allocations: 228.2 kB / 1.117 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.8404, allocations: 112.5 kB / 1.117 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005711/0.8461, allocations: 5.345 MB / 1.122 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.8468, allocations: 29.39 kB / 1.122 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.8469, allocations: 23.56 kB / 1.122 GB, free: 14.87 MB / 0.8887 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.000429/0.8473, allocations: 226.8 kB / 1.122 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.8475, allocations: 60.28 kB / 1.122 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.8492, allocations: 0.7782 MB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8492, allocations: 3.656 kB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.8493, allocations: 3.812 kB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.8493, allocations: 2.672 kB / 1.123 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.8523, allocations: 1.495 MB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.8523, allocations: 10.44 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/0.8527, allocations: 71.69 kB / 1.125 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007511/0.8535, allocations: 203.5 kB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.8536, allocations: 7.5 kB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005688/0.8593, allocations: 5.283 MB / 1.13 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.8593, allocations: 2.719 kB / 1.13 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.8615, allocations: 1.126 MB / 1.131 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.862, allocations: 176.4 kB / 1.131 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.8622, allocations: 20.66 kB / 1.131 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.8626, allocations: 26.64 kB / 1.131 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.8627, allocations: 35.78 kB / 1.131 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.8628, allocations: 13.44 kB / 1.131 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004494/0.8632, allocations: 315.8 kB / 1.132 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8632, allocations: 0 / 1.132 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009084/0.8642, allocations: 166.7 kB / 1.132 GB, free: 7.891 MB / 0.8887 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.0001896/0.8644, allocations: 118.7 kB / 1.132 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.8663, allocations: 1.013 MB / 1.133 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.8664, allocations: 1.344 kB / 1.133 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.8675, allocations: 0.673 MB / 1.134 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.8688, allocations: 179 kB / 1.134 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.8716, allocations: 1.318 MB / 1.135 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.8724, allocations: 0.9533 MB / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.8725, allocations: 40.67 kB / 1.136 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of SimCode: time 1.182e-06/0.8726, allocations: 0 / 1.136 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of Templates: time 0.02625/0.8988, allocations: 14.96 MB / 1.151 GB, free: 0.8164 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches