Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001138/0.001138, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007395/0.007395, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 462.7 MB / 0.7364 GB, free: 340 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 8.938 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0281/0.3659, allocations: 25.74 MB / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.3799, allocations: 8.005 MB / 1.092 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.3824, allocations: 99.44 kB / 1.092 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.385, allocations: 0.5233 MB / 1.092 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004747/0.3898, allocations: 1.493 MB / 1.094 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.3939, allocations: 1.399 MB / 1.095 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009936/0.4039, allocations: 8.693 MB / 1.104 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.4189, allocations: 9.164 MB / 1.113 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.4231, allocations: 1.847 MB / 1.114 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004791/0.4279, allocations: 2.46 MB / 1.117 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.4292, allocations: 212 kB / 1.117 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.4328, allocations: 1.205 MB / 1.118 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002918/0.4357, allocations: 1.668 MB / 1.12 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004644/0.4404, allocations: 1.953 MB / 1.122 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009512/0.4499, allocations: 7.686 MB / 1.129 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4499, allocations: 0 / 1.129 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/0.45, allocations: 0 / 1.129 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002627/0.4502, allocations: 0 / 1.129 GB, free: 13.09 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007874/0.4581, allocations: 3.421 MB / 1.132 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4582, allocations: 11.97 kB / 1.132 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/0.4633, allocations: 0.8078 MB / 1.133 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005528/0.4688, allocations: 2.432 MB / 1.136 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.4691, allocations: 271.6 kB / 1.136 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.4703, allocations: 376.5 kB / 1.136 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.4843, allocations: 5.984 MB / 1.142 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.4846, allocations: 27.78 kB / 1.142 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008419/0.4854, allocations: 160 kB / 1.142 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000715/0.4862, allocations: 282.9 kB / 1.143 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.4974, allocations: 4.52 MB / 1.147 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0349/0.5324, allocations: 27.69 MB / 1.174 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.5343, allocations: 1.129 MB / 1.175 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.5357, allocations: 1.015 MB / 1.176 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.888e-05/0.5358, allocations: 20.94 kB / 1.176 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.5359, allocations: 43.56 kB / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.817e-06/0.5359, allocations: 0 / 1.176 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02304/0.5589, allocations: 9.669 MB / 1.186 GB, free: 140 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.5591, allocations: 72.7 kB / 1.186 GB, free: 56 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.5615, allocations: 1.494 MB / 1.187 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.5617, allocations: 49.7 kB / 1.187 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.5629, allocations: 1.663 MB / 1.189 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.5633, allocations: 465.4 kB / 1.189 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.5635, allocations: 145.6 kB / 1.189 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5637, allocations: 305.1 kB / 1.19 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.565, allocations: 0.9174 MB / 1.191 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.5666, allocations: 1.467 MB / 1.192 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.5699, allocations: 2.55 MB / 1.195 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.57, allocations: 4 kB / 1.195 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006071/0.576, allocations: 3.29 MB / 1.198 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.5761, allocations: 12 kB / 1.198 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.5761, allocations: 16 kB / 1.198 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.5784, allocations: 0.7413 MB / 1.198 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.5799, allocations: 387.3 kB / 1.199 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.5955, allocations: 15.78 MB / 1.214 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5974, allocations: 99.84 kB / 1.214 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5976, allocations: 80.05 kB / 1.214 GB, free: 0.8242 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002703/0.6003, allocations: 1.311 MB / 1.216 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.6007, allocations: 205.6 kB / 1.216 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/0.6059, allocations: 2.788 MB / 1.219 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.606, allocations: 12 kB / 1.219 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.606, allocations: 4 kB / 1.219 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.606, allocations: 7.984 kB / 1.219 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.6166, allocations: 6.225 MB / 1.225 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.6167, allocations: 12.28 kB / 1.225 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.618, allocations: 235.6 kB / 1.225 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/0.6204, allocations: 0.6671 MB / 1.226 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.6206, allocations: 35.97 kB / 1.226 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.6387, allocations: 15.52 MB / 1.241 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.6388, allocations: 4 kB / 1.241 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/0.6456, allocations: 4.004 MB / 1.245 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.6466, allocations: 466.7 kB / 1.245 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.6469, allocations: 35.98 kB / 1.245 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.6478, allocations: 75.91 kB / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.6481, allocations: 116.7 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.6482, allocations: 43.94 kB / 1.245 GB, free: 15.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001434/0.6496, allocations: 0.9942 MB / 1.246 GB, free: 14.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6497, allocations: 0 / 1.246 GB, free: 14.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002444/0.6521, allocations: 0.6836 MB / 1.247 GB, free: 13.83 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0003245/0.6524, allocations: 155.6 kB / 1.247 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005477/0.6579, allocations: 3.503 MB / 1.251 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.658, allocations: 4 kB / 1.251 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/0.6612, allocations: 2.284 MB / 1.253 GB, free: 7.648 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004333/0.6656, allocations: 0.6157 MB / 1.253 GB, free: 7.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5808/1.246, allocations: 8.191 MB / 1.261 GB, free: 184.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.25, allocations: 2.669 MB / 1.264 GB, free: 183.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001895/1.252, allocations: 482.8 kB / 1.265 GB, free: 183.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/1.253, allocations: 123 kB / 1.265 GB, free: 183.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.643e-06/1.253, allocations: 0 / 1.265 GB, free: 183.6 MB / 1.014 GB Notification: Performance of Templates: time 0.07365/1.326, allocations: 32.06 MB / 1.296 GB, free: 175.6 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches