Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005611/0.005611, allocations: 102 kB / 15.73 MB, free: 6.035 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.001234/0.001234, allocations: 199.5 kB / 16.68 MB, free: 5.957 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.88 kB / 1.054 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8034, allocations: 157.4 MB / 1.208 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01376/0.8172, allocations: 11.11 MB / 1.219 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.8263, allocations: 5.792 MB / 1.224 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.8276, allocations: 51.69 kB / 1.224 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004234/0.8319, allocations: 1.723 MB / 1.226 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.8355, allocations: 1.139 MB / 1.227 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.8378, allocations: 0.8218 MB / 1.228 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00276/0.8406, allocations: 2.123 MB / 1.23 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.8422, allocations: 1.299 MB / 1.231 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.8434, allocations: 0.8601 MB / 1.232 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.8445, allocations: 0.9104 MB / 1.233 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.8446, allocations: 116 kB / 1.233 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.8467, allocations: 1.177 MB / 1.234 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.8472, allocations: 0.522 MB / 1.235 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.8479, allocations: 0.7849 MB / 1.235 GB, free: 1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.8507, allocations: 2.428 MB / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8507, allocations: 0 / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8507, allocations: 0 / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.8508, allocations: 4 kB / 1.238 GB, free: 14.56 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.0029/0.8537, allocations: 1.867 MB / 1.24 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8537, allocations: 12.02 kB / 1.24 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/0.858, allocations: 0.6659 MB / 1.24 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.86, allocations: 1.004 MB / 1.241 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.86, allocations: 94.89 kB / 1.241 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.8602, allocations: 128.3 kB / 1.242 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.8632, allocations: 2.21 MB / 1.244 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.8633, allocations: 11.88 kB / 1.244 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.8634, allocations: 59.97 kB / 1.244 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.8636, allocations: 162.3 kB / 1.244 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.8662, allocations: 1.871 MB / 1.246 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.8776, allocations: 12.44 MB / 1.258 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.8817, allocations: 1.964 MB / 1.26 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/0.8825, allocations: 0.605 MB / 1.26 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.8827, allocations: 110.1 kB / 1.261 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.8827, allocations: 43.56 kB / 1.261 GB, free: 6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=103): time 3.056e-06/0.8827, allocations: 0 / 1.261 GB, free: 6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.005797/0.8885, allocations: 3.706 MB / 1.264 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.8886, allocations: 64.41 kB / 1.264 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8896, allocations: 0.9242 MB / 1.265 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.8897, allocations: 41.7 kB / 1.265 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.8901, allocations: 0.7276 MB / 1.266 GB, free: 336 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.8904, allocations: 390.6 kB / 1.266 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.8908, allocations: 287.2 kB / 1.267 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.8909, allocations: 301.1 kB / 1.267 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008404/0.8917, allocations: 0.6129 MB / 1.267 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.8929, allocations: 1.117 MB / 1.269 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.895, allocations: 1.832 MB / 1.27 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.895, allocations: 4 kB / 1.27 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003136/0.8982, allocations: 2.108 MB / 1.272 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.8982, allocations: 12 kB / 1.272 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.8982, allocations: 16 kB / 1.272 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/0.899, allocations: 258.8 kB / 1.273 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.9002, allocations: 371.4 kB / 1.273 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008315/0.9085, allocations: 11.59 MB / 1.284 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.9098, allocations: 127.8 kB / 1.284 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.9099, allocations: 71.92 kB / 1.284 GB, free: 11.64 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006813/0.9106, allocations: 401.3 kB / 1.285 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.9108, allocations: 130.5 kB / 1.285 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.9135, allocations: 1.681 MB / 1.287 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.9135, allocations: 16 kB / 1.287 GB, free: 9.383 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9135, allocations: 0 / 1.287 GB, free: 9.383 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.9136, allocations: 3.984 kB / 1.287 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.9184, allocations: 3.291 MB / 1.29 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.9185, allocations: 12.67 kB / 1.29 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/0.9193, allocations: 219.6 kB / 1.29 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006894/0.92, allocations: 246.7 kB / 1.29 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.9201, allocations: 27.94 kB / 1.29 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008099/0.9282, allocations: 11.56 MB / 1.302 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.9282, allocations: 16.08 kB / 1.302 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.9309, allocations: 1.796 MB / 1.303 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.9316, allocations: 311.4 kB / 1.304 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.9317, allocations: 24 kB / 1.304 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/0.9324, allocations: 87.88 kB / 1.304 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.9326, allocations: 104.6 kB / 1.304 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.9327, allocations: 35.98 kB / 1.304 GB, free: 6.246 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007455/0.9334, allocations: 0.6216 MB / 1.305 GB, free: 5.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9334, allocations: 0 / 1.305 GB, free: 5.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001344/0.9348, allocations: 388 kB / 1.305 GB, free: 5.238 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002362/0.935, allocations: 146.9 kB / 1.305 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003416/0.9384, allocations: 2.501 MB / 1.308 GB, free: 2.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9385, allocations: 4.062 kB / 1.308 GB, free: 2.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.9404, allocations: 1.629 MB / 1.309 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.942, allocations: 363.2 kB / 1.309 GB, free: 420 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.9461, allocations: 2.741 MB / 1.312 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.947, allocations: 1.327 MB / 1.313 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008433/0.9479, allocations: 367.3 kB / 1.314 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.9481, allocations: 99.42 kB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.9482, allocations: 0 / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of Templates: time 0.02904/0.9772, allocations: 17.64 MB / 1.331 GB, free: 10.27 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches