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.01259/0.01259, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00261/0.00261, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01504/1.067, allocations: 14.06 MB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01344/1.081, allocations: 9.379 MB / 1.231 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/1.082, allocations: 59.62 kB / 1.231 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004782/1.087, allocations: 1.681 MB / 1.232 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/1.093, allocations: 1.534 MB / 1.234 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/1.095, allocations: 0.7628 MB / 1.235 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003853/1.099, allocations: 2.512 MB / 1.237 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.101, allocations: 1.415 MB / 1.238 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/1.102, allocations: 1.071 MB / 1.239 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/1.104, allocations: 1.136 MB / 1.241 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/1.104, allocations: 168 kB / 1.241 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/1.106, allocations: 0.7838 MB / 1.241 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/1.106, allocations: 0.6194 MB / 1.242 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/1.107, allocations: 0.9445 MB / 1.243 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/1.11, allocations: 2.759 MB / 1.246 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.11, allocations: 0 / 1.246 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.813e-06/1.11, allocations: 0 / 1.246 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.819e-05/1.11, allocations: 0 / 1.246 GB, free: 6.59 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.003949/1.114, allocations: 2.123 MB / 1.248 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.114, allocations: 19.95 kB / 1.248 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/1.126, allocations: 2.085 MB / 1.25 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/1.129, allocations: 1.294 MB / 1.251 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/1.13, allocations: 90.73 kB / 1.251 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.13, allocations: 124 kB / 1.251 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00565/1.135, allocations: 2.667 MB / 1.254 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/1.135, allocations: 7.938 kB / 1.254 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/1.136, allocations: 59.98 kB / 1.254 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/1.136, allocations: 182.1 kB / 1.254 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0077/1.144, allocations: 2.799 MB / 1.257 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/1.161, allocations: 10.46 MB / 1.267 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/1.169, allocations: 2.529 MB / 1.27 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003625/1.173, allocations: 1.288 MB / 1.271 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/1.173, allocations: 9 kB / 1.271 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/1.173, allocations: 47.5 kB / 1.271 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 4.519e-06/1.173, allocations: 4 kB / 1.271 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.04921/1.222, allocations: 13.36 MB / 1.284 GB, free: 14.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/1.222, allocations: 64.72 kB / 1.284 GB, free: 14.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.224, allocations: 1.117 MB / 1.285 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.224, allocations: 53.69 kB / 1.285 GB, free: 13.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/1.225, allocations: 0.7117 MB / 1.286 GB, free: 12.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/1.226, allocations: 457.4 kB / 1.286 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005751/1.226, allocations: 259.4 kB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.226, allocations: 361.9 kB / 1.287 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/1.23, allocations: 1.343 MB / 1.288 GB, free: 9.891 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/1.233, allocations: 1.605 MB / 1.29 GB, free: 8.188 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/1.241, allocations: 2.998 MB / 1.293 GB, free: 5.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.241, allocations: 0 / 1.293 GB, free: 5.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01195/1.253, allocations: 4.439 MB / 1.297 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.253, allocations: 9.719 kB / 1.297 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.253, allocations: 12.06 kB / 1.297 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/1.258, allocations: 1.427 MB / 1.298 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/1.26, allocations: 439.2 kB / 1.299 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.289, allocations: 26.67 MB / 1.325 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/1.291, allocations: 307.6 kB / 1.325 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.292, allocations: 67.89 kB / 1.325 GB, free: 1.809 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.000878/1.292, allocations: 429.5 kB / 1.326 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/1.293, allocations: 162.1 kB / 1.326 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.305, allocations: 4.453 MB / 1.33 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.305, allocations: 16 kB / 1.33 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.115e-05/1.305, allocations: 12 kB / 1.33 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/1.305, allocations: 7.969 kB / 1.33 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.321, allocations: 6.771 MB / 1.337 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/1.321, allocations: 352 / 1.337 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.323, allocations: 383.4 kB / 1.337 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004882/1.328, allocations: 1.311 MB / 1.338 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/1.329, allocations: 39.97 kB / 1.338 GB, free: 3.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02636/1.355, allocations: 25.5 MB / 1.363 GB, free: 8.645 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.355, allocations: 7.938 kB / 1.363 GB, free: 8.637 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.366, allocations: 4.206 MB / 1.367 GB, free: 4.336 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.367, allocations: 447 kB / 1.368 GB, free: 3.879 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/1.368, allocations: 28 kB / 1.368 GB, free: 3.852 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.37, allocations: 307.5 kB / 1.368 GB, free: 3.551 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004863/1.37, allocations: 132.6 kB / 1.368 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.37, allocations: 47.97 kB / 1.368 GB, free: 3.371 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001052/1.371, allocations: 0.7487 MB / 1.369 GB, free: 2.621 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/1.371, allocations: 4 kB / 1.369 GB, free: 2.617 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002127/1.374, allocations: 0.5742 MB / 1.37 GB, free: 2.043 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.0003035/1.374, allocations: 151 kB / 1.37 GB, free: 1.887 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.386, allocations: 5.134 MB / 1.375 GB, free: 12.58 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-05/1.386, allocations: 4.125 kB / 1.375 GB, free: 12.58 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00758/1.394, allocations: 3.48 MB / 1.378 GB, free: 8.93 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/1.397, allocations: 0.5533 MB / 1.379 GB, free: 8.398 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009887/1.407, allocations: 3.99 MB / 1.383 GB, free: 4.352 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.409, allocations: 1.473 MB / 1.384 GB, free: 2.848 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001679/1.411, allocations: 425.6 kB / 1.385 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/1.411, allocations: 111.4 kB / 1.385 GB, free: 2.316 MB / 1.107 GB Notification: Performance of SimCode: time 7.11e-07/1.411, allocations: 0 / 1.385 GB, free: 2.316 MB / 1.107 GB Notification: Performance of Templates: time 0.0672/1.478, allocations: 40.19 MB / 1.424 GB, free: 10.56 MB / 1.154 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