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.001368/0.001368, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001539/0.001539, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 64.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9664/0.968, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01952/0.9875, allocations: 14.05 MB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01599/1.004, allocations: 9.387 MB / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/1.005, allocations: 55.69 kB / 1.231 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004967/1.011, allocations: 1.688 MB / 1.233 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005517/1.016, allocations: 1.53 MB / 1.235 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/1.019, allocations: 0.7523 MB / 1.235 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004708/1.023, allocations: 2.511 MB / 1.238 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00278/1.026, allocations: 1.42 MB / 1.239 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/1.029, allocations: 1.075 MB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/1.031, allocations: 1.133 MB / 1.241 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000747/1.032, allocations: 164 kB / 1.241 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/1.034, allocations: 0.7994 MB / 1.242 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.036, allocations: 0.6076 MB / 1.243 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002361/1.038, allocations: 0.9445 MB / 1.244 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005488/1.044, allocations: 2.753 MB / 1.246 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.044, allocations: 0 / 1.246 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.935e-06/1.044, allocations: 7.938 kB / 1.246 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001172/1.044, allocations: 0 / 1.246 GB, free: 6.789 MB / 0.9669 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.006608/1.05, allocations: 2.127 MB / 1.248 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/1.05, allocations: 12.03 kB / 1.248 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/1.063, allocations: 2.089 MB / 1.251 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/1.066, allocations: 1.287 MB / 1.252 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/1.066, allocations: 86.73 kB / 1.252 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/1.067, allocations: 128 kB / 1.252 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007677/1.075, allocations: 2.675 MB / 1.255 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/1.075, allocations: 7.938 kB / 1.255 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/1.075, allocations: 55.98 kB / 1.255 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007211/1.076, allocations: 182.1 kB / 1.255 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008632/1.085, allocations: 2.791 MB / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/1.103, allocations: 10.47 MB / 1.268 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/1.111, allocations: 2.529 MB / 1.27 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.114, allocations: 1.28 MB / 1.271 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.952e-05/1.114, allocations: 13 kB / 1.272 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.114, allocations: 39.56 kB / 1.272 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.437e-06/1.114, allocations: 0 / 1.272 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04908/1.163, allocations: 13.37 MB / 1.285 GB, free: 14.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/1.163, allocations: 68.66 kB / 1.285 GB, free: 14.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/1.165, allocations: 1.121 MB / 1.286 GB, free: 13.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002168/1.166, allocations: 49.7 kB / 1.286 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/1.166, allocations: 0.7156 MB / 1.287 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/1.167, allocations: 457.4 kB / 1.287 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006181/1.168, allocations: 259.4 kB / 1.287 GB, free: 11.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.168, allocations: 365.9 kB / 1.288 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/1.171, allocations: 1.339 MB / 1.289 GB, free: 10.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/1.175, allocations: 1.601 MB / 1.29 GB, free: 8.391 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007318/1.182, allocations: 2.991 MB / 1.293 GB, free: 5.305 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.182, allocations: 4 kB / 1.293 GB, free: 5.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01234/1.195, allocations: 4.446 MB / 1.298 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/1.195, allocations: 8 kB / 1.298 GB, free: 0.793 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.195, allocations: 8 kB / 1.298 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005443/1.2, allocations: 1.436 MB / 1.299 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/1.203, allocations: 439.2 kB / 1.3 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/1.233, allocations: 26.67 MB / 1.326 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/1.236, allocations: 299.5 kB / 1.326 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/1.237, allocations: 71.89 kB / 1.326 GB, free: 2.004 MB / 1.045 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.001382/1.238, allocations: 431.6 kB / 1.326 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/1.239, allocations: 162.1 kB / 1.326 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.252, allocations: 4.457 MB / 1.331 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/1.252, allocations: 15.94 kB / 1.331 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.422e-05/1.252, allocations: 12 kB / 1.331 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/1.252, allocations: 7.969 kB / 1.331 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.269, allocations: 6.76 MB / 1.337 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.269, allocations: 4 kB / 1.337 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.271, allocations: 383.8 kB / 1.338 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/1.276, allocations: 1.31 MB / 1.339 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/1.276, allocations: 35.97 kB / 1.339 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/1.304, allocations: 25.49 MB / 1.364 GB, free: 8.852 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.304, allocations: 8.016 kB / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/1.316, allocations: 4.21 MB / 1.368 GB, free: 4.539 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.317, allocations: 455 kB / 1.369 GB, free: 4.074 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005235/1.318, allocations: 24 kB / 1.369 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.32, allocations: 303.5 kB / 1.369 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005186/1.321, allocations: 132.7 kB / 1.369 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.321, allocations: 48.16 kB / 1.369 GB, free: 3.574 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001286/1.322, allocations: 0.7525 MB / 1.37 GB, free: 2.82 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.91e-07/1.322, allocations: 0 / 1.37 GB, free: 2.82 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002596/1.325, allocations: 0.5703 MB / 1.37 GB, free: 2.25 MB / 1.092 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.0004095/1.325, allocations: 144.7 kB / 1.371 GB, free: 2.102 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.337, allocations: 5.142 MB / 1.376 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.337, allocations: 0 / 1.376 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007367/1.344, allocations: 3.484 MB / 1.379 GB, free: 9.137 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.348, allocations: 0.5686 MB / 1.379 GB, free: 8.594 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.358, allocations: 4.094 MB / 1.383 GB, free: 4.434 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.36, allocations: 1.473 MB / 1.385 GB, free: 2.93 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/1.36, allocations: 135.3 kB / 1.385 GB, free: 2.797 MB / 1.107 GB Notification: Performance of SimCode: time 9.42e-07/1.36, allocations: 0 / 1.385 GB, free: 2.797 MB / 1.107 GB Notification: Performance of Templates: time 0.1175/1.478, allocations: 112.6 MB / 1.495 GB, free: 2.188 MB / 1.217 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/jenkins1/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