Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001433/0.001432, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 64.34 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3124, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.5126/0.825, allocations: 32.31 MB / 1.096 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.84, allocations: 10.17 MB / 1.106 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.8432, allocations: 134.9 kB / 1.106 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.008083/0.8514, allocations: 3.492 MB / 1.109 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005648/0.8571, allocations: 1.705 MB / 1.111 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005938/0.863, allocations: 1.943 MB / 1.113 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01018/0.8732, allocations: 7.348 MB / 1.12 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01975/0.893, allocations: 11.6 MB / 1.131 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006852/0.8999, allocations: 3.219 MB / 1.134 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006899/0.9068, allocations: 3.647 MB / 1.138 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002512/0.9093, allocations: 0.6465 MB / 1.139 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005746/0.9151, allocations: 1.772 MB / 1.14 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005243/0.9203, allocations: 2.543 MB / 1.143 GB, free: 304 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008535/0.9289, allocations: 2.899 MB / 1.146 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.9415, allocations: 8.637 MB / 1.154 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9416, allocations: 0 / 1.154 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9416, allocations: 1.094 kB / 1.154 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003522/0.9419, allocations: 0 / 1.154 GB, free: 9.457 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01702/0.959, allocations: 4.992 MB / 1.159 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.959, allocations: 9.281 kB / 1.159 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/0.966, allocations: 0.9605 MB / 1.16 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007232/0.9732, allocations: 2.852 MB / 1.163 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.9736, allocations: 348.3 kB / 1.163 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.9755, allocations: 470 kB / 1.163 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.9995, allocations: 7.67 MB / 1.171 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003352/0.9999, allocations: 31.7 kB / 1.171 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002364/1.002, allocations: 204 kB / 1.171 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004549/1.003, allocations: 313 kB / 1.171 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/1.016, allocations: 5.706 MB / 1.177 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.046/1.062, allocations: 35.11 MB / 1.211 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/1.065, allocations: 2.149 MB / 1.213 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/1.067, allocations: 1.268 MB / 1.215 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/1.067, allocations: 13.31 kB / 1.215 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.067, allocations: 43.88 kB / 1.215 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=133): time 8.566e-06/1.067, allocations: 4 kB / 1.215 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=136): time 0.01487/1.082, allocations: 7.084 MB / 1.222 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.082, allocations: 72.72 kB / 1.222 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/1.085, allocations: 1.484 MB / 1.223 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/1.085, allocations: 49.7 kB / 1.223 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.086, allocations: 2.004 MB / 1.225 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/1.087, allocations: 485 kB / 1.226 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005817/1.088, allocations: 351.2 kB / 1.226 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.088, allocations: 301.1 kB / 1.226 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/1.089, allocations: 0.9174 MB / 1.227 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/1.091, allocations: 1.589 MB / 1.229 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/1.094, allocations: 2.737 MB / 1.231 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.007e-05/1.095, allocations: 8 kB / 1.231 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006459/1.101, allocations: 3.538 MB / 1.235 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/1.101, allocations: 20.03 kB / 1.235 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.101, allocations: 20 kB / 1.235 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/1.104, allocations: 0.8998 MB / 1.236 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.105, allocations: 351.3 kB / 1.236 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.128, allocations: 23.12 MB / 1.259 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.13, allocations: 99.92 kB / 1.259 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/1.13, allocations: 87.98 kB / 1.259 GB, free: 13.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.003333/1.133, allocations: 1.608 MB / 1.26 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/1.134, allocations: 209.8 kB / 1.261 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/1.14, allocations: 2.994 MB / 1.264 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.14, allocations: 19.98 kB / 1.264 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/1.14, allocations: 12 kB / 1.264 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.14, allocations: 11.91 kB / 1.264 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/1.155, allocations: 7.34 MB / 1.271 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.155, allocations: 4 kB / 1.271 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/1.156, allocations: 175.7 kB / 1.271 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/1.159, allocations: 0.8223 MB / 1.272 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.159, allocations: 28 kB / 1.272 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/1.18, allocations: 21.97 MB / 1.293 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.18, allocations: 8 kB / 1.293 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/1.186, allocations: 3.019 MB / 1.296 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.187, allocations: 462.5 kB / 1.297 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/1.188, allocations: 31.94 kB / 1.297 GB, free: 4.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.189, allocations: 71.84 kB / 1.297 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.189, allocations: 128.8 kB / 1.297 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/1.189, allocations: 40 kB / 1.297 GB, free: 4.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00166/1.191, allocations: 0.9717 MB / 1.298 GB, free: 3.023 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.191, allocations: 3.938 kB / 1.298 GB, free: 3.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003938/1.195, allocations: 0.7891 MB / 1.299 GB, free: 2.23 MB / 1.014 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/1.195, allocations: 153.3 kB / 1.299 GB, free: 2.074 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008259/1.204, allocations: 4.644 MB / 1.303 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.204, allocations: 4 kB / 1.303 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004108/1.208, allocations: 2.733 MB / 1.306 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.212, allocations: 0.7329 MB / 1.307 GB, free: 9.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.232, allocations: 9.788 MB / 1.316 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004774/1.237, allocations: 3.179 MB / 1.319 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/1.237, allocations: 127.4 kB / 1.319 GB, free: 12.46 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/1.237, allocations: 0 / 1.319 GB, free: 12.46 MB / 1.045 GB Notification: Performance of Templates: time 0.7458/1.983, allocations: 321.5 MB / 1.633 GB, free: 385.8 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches