Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example4.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001569/0.001569, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001886, allocations: 65.44 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3092, allocations: 159.2 MB / 1.063 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8802/1.189, allocations: 234.7 MB / 1.293 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01825/1.208, allocations: 15.69 MB / 1.308 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/1.211, allocations: 55.47 kB / 1.308 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/1.213, allocations: 0.9153 MB / 1.309 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007846/1.221, allocations: 2.803 MB / 1.312 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004503/1.226, allocations: 1.525 MB / 1.313 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005439/1.231, allocations: 3.439 MB / 1.316 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/1.233, allocations: 1.258 MB / 1.318 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007284/1.241, allocations: 2.486 MB / 1.32 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/1.243, allocations: 1.146 MB / 1.321 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002702/1.244, allocations: 119.4 kB / 1.321 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/1.25, allocations: 3.263 MB / 1.325 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000682/1.25, allocations: 498.3 kB / 1.325 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.252, allocations: 0.8098 MB / 1.326 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00588/1.257, allocations: 3.15 MB / 1.329 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.257, allocations: 0 / 1.329 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.257, allocations: 2.531 kB / 1.329 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.138e-05/1.258, allocations: 1 kB / 1.329 GB, free: 3.285 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003405/1.261, allocations: 2.001 MB / 1.331 GB, free: 18.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/1.261, allocations: 7.719 kB / 1.331 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/1.264, allocations: 0.5004 MB / 1.331 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/1.265, allocations: 1.115 MB / 1.332 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008486/1.266, allocations: 249.4 kB / 1.333 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.266, allocations: 96.94 kB / 1.333 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.269, allocations: 1.318 MB / 1.334 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.269, allocations: 4.875 kB / 1.334 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/1.269, allocations: 39.75 kB / 1.334 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/1.269, allocations: 43.81 kB / 1.334 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/1.271, allocations: 1.076 MB / 1.335 GB, free: 17.41 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007235/1.278, allocations: 6.625 MB / 1.342 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.28, allocations: 0.5826 MB / 1.342 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/1.28, allocations: 274.3 kB / 1.342 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/1.281, allocations: 281.6 kB / 1.343 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.281, allocations: 41.86 kB / 1.343 GB, free: 12.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/1.281, allocations: 3.281 kB / 1.343 GB, free: 12.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002289/1.283, allocations: 0.8577 MB / 1.344 GB, free: 12.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.283, allocations: 57.22 kB / 1.344 GB, free: 12.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/1.285, allocations: 1.364 MB / 1.345 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/1.285, allocations: 37.36 kB / 1.345 GB, free: 12.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/1.285, allocations: 0.6774 MB / 1.346 GB, free: 12.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/1.285, allocations: 119.9 kB / 1.346 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.285, allocations: 148 kB / 1.346 GB, free: 12.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.286, allocations: 332.7 kB / 1.346 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/1.286, allocations: 312.6 kB / 1.347 GB, free: 11.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/1.287, allocations: 0.6241 MB / 1.347 GB, free: 11.35 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/1.289, allocations: 0.8586 MB / 1.348 GB, free: 10.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.289, allocations: 2.156 kB / 1.348 GB, free: 10.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002232/1.291, allocations: 1.003 MB / 1.349 GB, free: 10.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.291, allocations: 12.03 kB / 1.349 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.291, allocations: 10.12 kB / 1.349 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/1.291, allocations: 13 kB / 1.349 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/1.292, allocations: 192.9 kB / 1.349 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.292, allocations: 21.88 kB / 1.349 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/1.294, allocations: 217.1 kB / 1.349 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.978e-05/1.294, allocations: 38.77 kB / 1.35 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001159/1.295, allocations: 0.5634 MB / 1.35 GB, free: 10.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/1.296, allocations: 0.6234 MB / 1.351 GB, free: 10.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001661/1.298, allocations: 0.8535 MB / 1.352 GB, free: 9.824 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.154e-05/1.298, allocations: 2.344 kB / 1.352 GB, free: 9.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002325/1.3, allocations: 0.9994 MB / 1.352 GB, free: 9.512 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.3, allocations: 10.66 kB / 1.352 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.3, allocations: 10.59 kB / 1.353 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.3, allocations: 13.22 kB / 1.353 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/1.301, allocations: 193.1 kB / 1.353 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.301, allocations: 19.94 kB / 1.353 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.302, allocations: 157.1 kB / 1.353 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/1.302, allocations: 36.12 kB / 1.353 GB, free: 9.457 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003092/1.303, allocations: 231.2 kB / 1.353 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002662/1.303, allocations: 141.8 kB / 1.353 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/1.305, allocations: 0.6558 MB / 1.354 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.305, allocations: 4.688 kB / 1.354 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.305, allocations: 0 / 1.354 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/1.305, allocations: 1.641 kB / 1.354 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/1.309, allocations: 1.946 MB / 1.356 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.309, allocations: 3.438 kB / 1.356 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/1.309, allocations: 94.58 kB / 1.356 GB, free: 7.969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/1.309, allocations: 16.44 kB / 1.356 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/1.309, allocations: 12.34 kB / 1.356 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/1.309, allocations: 7.672 kB / 1.356 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.309, allocations: 5.625 kB / 1.356 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/1.311, allocations: 0.8219 MB / 1.357 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/1.312, allocations: 297.2 kB / 1.357 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/1.312, allocations: 8.938 kB / 1.357 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.314, allocations: 102.9 kB / 1.357 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/1.314, allocations: 32.19 kB / 1.357 GB, free: 7.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/1.314, allocations: 22.59 kB / 1.357 GB, free: 7.234 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001793/1.316, allocations: 0.9916 MB / 1.358 GB, free: 6.855 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.316, allocations: 0 / 1.358 GB, free: 6.855 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00229/1.318, allocations: 0.5717 MB / 1.359 GB, free: 6.773 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006654/1.319, allocations: 263.9 kB / 1.359 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00284/1.321, allocations: 1.108 MB / 1.36 GB, free: 6.383 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.321, allocations: 3.938 kB / 1.36 GB, free: 6.379 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/1.322, allocations: 266.5 kB / 1.36 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/1.326, allocations: 0.7408 MB / 1.361 GB, free: 6.086 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/1.331, allocations: 2.683 MB / 1.364 GB, free: 4.504 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/1.332, allocations: 1.183 MB / 1.365 GB, free: 3.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001666/1.334, allocations: 368.7 kB / 1.365 GB, free: 3.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/1.334, allocations: 100.4 kB / 1.365 GB, free: 3.637 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.334, allocations: 0 / 1.365 GB, free: 3.637 MB / 1.014 GB Notification: Performance of Templates: time 0.04363/1.378, allocations: 24.67 MB / 1.389 GB, free: 5.426 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches