Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007155/0.007162, allocations: 103.8 kB / 15.73 MB, free: 6.473 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.001642/0.001643, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.8 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3238, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01616/0.34, allocations: 14.06 MB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.3538, allocations: 9.395 MB / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.3551, allocations: 59.62 kB / 1.231 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003983/0.3592, allocations: 1.669 MB / 1.232 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.3634, allocations: 1.544 MB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.3653, allocations: 0.7529 MB / 1.235 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.3682, allocations: 2.516 MB / 1.237 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.3701, allocations: 1.423 MB / 1.238 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3716, allocations: 1.067 MB / 1.239 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.3729, allocations: 1.136 MB / 1.241 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.3731, allocations: 168 kB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.3745, allocations: 0.7877 MB / 1.241 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.3751, allocations: 0.6154 MB / 1.242 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008976/0.376, allocations: 0.9446 MB / 1.243 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.3786, allocations: 2.745 MB / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3787, allocations: 0 / 1.246 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3787, allocations: 3.938 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.3787, allocations: 0 / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003553/0.3823, allocations: 2.147 MB / 1.248 GB, free: 460 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3823, allocations: 8.625 kB / 1.248 GB, free: 452 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7013/1.084, allocations: 2.08 MB / 1.25 GB, free: 38.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/1.087, allocations: 1.289 MB / 1.251 GB, free: 38.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/1.087, allocations: 92.45 kB / 1.251 GB, free: 38.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/1.087, allocations: 117.7 kB / 1.251 GB, free: 38.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005162/1.092, allocations: 2.682 MB / 1.254 GB, free: 37.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/1.092, allocations: 6.781 kB / 1.254 GB, free: 37.69 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/1.092, allocations: 64.58 kB / 1.254 GB, free: 37.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005542/1.093, allocations: 178.4 kB / 1.254 GB, free: 37.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006497/1.1, allocations: 2.797 MB / 1.257 GB, free: 37.64 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/1.113, allocations: 10.45 MB / 1.267 GB, free: 32.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006518/1.12, allocations: 2.526 MB / 1.27 GB, free: 31.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/1.123, allocations: 1.278 MB / 1.271 GB, free: 31.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-05/1.123, allocations: 9.531 kB / 1.271 GB, free: 31.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/1.123, allocations: 51.84 kB / 1.271 GB, free: 31.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.745e-06/1.123, allocations: 0 / 1.271 GB, free: 31.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04297/1.166, allocations: 13.36 MB / 1.284 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.166, allocations: 67.08 kB / 1.284 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.168, allocations: 1.118 MB / 1.285 GB, free: 28.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/1.168, allocations: 51.33 kB / 1.285 GB, free: 28.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.169, allocations: 0.7137 MB / 1.286 GB, free: 27.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/1.169, allocations: 455.4 kB / 1.286 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/1.169, allocations: 260.7 kB / 1.286 GB, free: 27.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/1.169, allocations: 357.1 kB / 1.287 GB, free: 26.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003025/1.173, allocations: 1.34 MB / 1.288 GB, free: 26.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/1.176, allocations: 1.609 MB / 1.29 GB, free: 25.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/1.182, allocations: 2.994 MB / 1.293 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/1.182, allocations: 2.562 kB / 1.293 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0105/1.192, allocations: 4.443 MB / 1.297 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.193, allocations: 10.19 kB / 1.297 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.193, allocations: 8.875 kB / 1.297 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/1.197, allocations: 1.436 MB / 1.298 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/1.199, allocations: 440.4 kB / 1.299 GB, free: 21.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/1.222, allocations: 26.68 MB / 1.325 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.225, allocations: 304.1 kB / 1.325 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/1.225, allocations: 65.58 kB / 1.325 GB, free: 13.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001046/1.226, allocations: 435.5 kB / 1.326 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/1.227, allocations: 168.3 kB / 1.326 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.24, allocations: 4.456 MB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/1.24, allocations: 12.81 kB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-05/1.24, allocations: 16.53 kB / 1.33 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/1.24, allocations: 7.969 kB / 1.33 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.257, allocations: 6.77 MB / 1.337 GB, free: 6.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.257, allocations: 6.5 kB / 1.337 GB, free: 6.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.258, allocations: 376.9 kB / 1.337 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004612/1.263, allocations: 1.314 MB / 1.338 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.263, allocations: 41.47 kB / 1.338 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02414/1.287, allocations: 25.49 MB / 1.363 GB, free: 13.97 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.287, allocations: 7.938 kB / 1.363 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.298, allocations: 4.202 MB / 1.367 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.299, allocations: 458.9 kB / 1.368 GB, free: 9.199 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/1.299, allocations: 31.55 kB / 1.368 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.301, allocations: 303.5 kB / 1.368 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/1.301, allocations: 132.6 kB / 1.368 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.302, allocations: 43.97 kB / 1.368 GB, free: 8.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00107/1.303, allocations: 0.7565 MB / 1.369 GB, free: 7.945 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/1.303, allocations: 0 / 1.369 GB, free: 7.945 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00238/1.305, allocations: 0.5703 MB / 1.37 GB, free: 7.375 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003177/1.305, allocations: 149 kB / 1.37 GB, free: 7.227 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.316, allocations: 5.126 MB / 1.375 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.316, allocations: 0 / 1.375 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.006503/1.322, allocations: 3.492 MB / 1.378 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.325, allocations: 0.5524 MB / 1.379 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/1.333, allocations: 3.98 MB / 1.383 GB, free: 9.742 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.334, allocations: 1.476 MB / 1.384 GB, free: 8.234 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001489/1.336, allocations: 425.6 kB / 1.385 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/1.336, allocations: 111.4 kB / 1.385 GB, free: 7.703 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/1.336, allocations: 0 / 1.385 GB, free: 7.703 MB / 1.061 GB Notification: Performance of Templates: time 0.0614/1.397, allocations: 39.37 MB / 1.423 GB, free: 0.7773 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches