Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001367, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001337/0.001337, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 71.89 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9852/0.9869, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.008626/0.9956, allocations: 5.106 MB / 1.231 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005705/1.001, allocations: 3.369 MB / 1.235 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/1.002, allocations: 11.94 kB / 1.235 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/1.004, allocations: 0.5018 MB / 1.235 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/1.005, allocations: 394 kB / 1.235 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/1.006, allocations: 271.3 kB / 1.236 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001151/1.007, allocations: 0.6463 MB / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/1.008, allocations: 0.5288 MB / 1.237 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/1.008, allocations: 287.2 kB / 1.237 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/1.009, allocations: 295 kB / 1.237 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/1.009, allocations: 51.98 kB / 1.238 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/1.009, allocations: 299.5 kB / 1.238 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/1.01, allocations: 171.6 kB / 1.238 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/1.01, allocations: 242.9 kB / 1.238 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/1.011, allocations: 0.8376 MB / 1.239 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.011, allocations: 0 / 1.239 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/1.011, allocations: 4 kB / 1.239 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.011, allocations: 4 kB / 1.239 GB, free: 0.4961 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00164/1.013, allocations: 0.8136 MB / 1.24 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.013, allocations: 8.031 kB / 1.24 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/1.016, allocations: 0.6831 MB / 1.24 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/1.016, allocations: 480 kB / 1.241 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/1.016, allocations: 21.03 kB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/1.017, allocations: 36.11 kB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.018, allocations: 0.8356 MB / 1.242 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.018, allocations: 3.953 kB / 1.242 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/1.018, allocations: 12 kB / 1.242 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/1.019, allocations: 60.58 kB / 1.242 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/1.021, allocations: 0.9272 MB / 1.243 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/1.025, allocations: 2.856 MB / 1.246 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/1.026, allocations: 0.5488 MB / 1.246 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/1.027, allocations: 312.5 kB / 1.246 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/1.027, allocations: 93.03 kB / 1.246 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.027, allocations: 38.56 kB / 1.247 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/1.027, allocations: 0 / 1.247 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32): time 0.0134/1.041, allocations: 3.498 MB / 1.25 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.041, allocations: 55.41 kB / 1.25 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/1.042, allocations: 408.4 kB / 1.25 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/1.042, allocations: 33.64 kB / 1.25 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/1.042, allocations: 232.3 kB / 1.251 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.042, allocations: 119 kB / 1.251 GB, free: 4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/1.042, allocations: 77.67 kB / 1.251 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.042, allocations: 350.8 kB / 1.251 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.043, allocations: 396.5 kB / 1.252 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.044, allocations: 472.1 kB / 1.252 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/1.047, allocations: 0.8324 MB / 1.253 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.047, allocations: 0 / 1.253 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005547/1.052, allocations: 1.659 MB / 1.254 GB, free: 152 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.052, allocations: 8 kB / 1.254 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.052, allocations: 3.938 kB / 1.254 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/1.056, allocations: 0.8804 MB / 1.255 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/1.057, allocations: 127.8 kB / 1.255 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009193/1.066, allocations: 6.67 MB / 1.262 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/1.067, allocations: 107.8 kB / 1.262 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/1.067, allocations: 24.05 kB / 1.262 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/1.069, allocations: 0.5699 MB / 1.263 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001005/1.07, allocations: 456.8 kB / 1.263 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001935/1.071, allocations: 0.8118 MB / 1.264 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.866e-06/1.071, allocations: 0 / 1.264 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004957/1.076, allocations: 1.645 MB / 1.265 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.077, allocations: 7.984 kB / 1.265 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.077, allocations: 4 kB / 1.265 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/1.079, allocations: 0.6393 MB / 1.266 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/1.08, allocations: 135.8 kB / 1.266 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/1.088, allocations: 7.299 MB / 1.273 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008793/1.089, allocations: 103.9 kB / 1.273 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/1.089, allocations: 19.98 kB / 1.273 GB, free: 11.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/1.089, allocations: 200.3 kB / 1.274 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.089, allocations: 39.7 kB / 1.274 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.094, allocations: 1.55 MB / 1.275 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.094, allocations: 0 / 1.275 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.094, allocations: 0 / 1.275 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/1.095, allocations: 180.8 kB / 1.275 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.095, allocations: 11.94 kB / 1.275 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/1.096, allocations: 79.86 kB / 1.275 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/1.096, allocations: 35.94 kB / 1.275 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003831/1.1, allocations: 1.311 MB / 1.277 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002544/1.102, allocations: 1.238 MB / 1.278 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007467/1.103, allocations: 343.7 kB / 1.278 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004601/1.103, allocations: 311.1 kB / 1.279 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of Backend: time 5.11e-07/1.103, allocations: 0 / 1.279 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004999/1.108, allocations: 2.114 MB / 1.281 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002257/1.111, allocations: 1.534 MB / 1.282 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of Templates: time 0.02874/1.139, allocations: 17.36 MB / 1.299 GB, free: 1.113 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches