Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001765/0.001765, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002396/0.002397, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.8 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3277, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8522/1.18, allocations: 235.4 MB / 1.297 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02527/1.205, allocations: 15.92 MB / 1.313 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004178/1.21, allocations: 60.09 kB / 1.313 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003566/1.213, allocations: 0.8744 MB / 1.314 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/1.224, allocations: 2.796 MB / 1.317 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005311/1.229, allocations: 1.516 MB / 1.318 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007697/1.237, allocations: 4.65 MB / 1.323 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/1.239, allocations: 1.075 MB / 1.324 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008148/1.247, allocations: 2.254 MB / 1.326 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/1.25, allocations: 1.133 MB / 1.327 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.251, allocations: 64.03 kB / 1.327 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008357/1.259, allocations: 3.585 MB / 1.331 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006532/1.26, allocations: 431.4 kB / 1.331 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/1.261, allocations: 0.7533 MB / 1.332 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006368/1.267, allocations: 3.096 MB / 1.335 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.267, allocations: 4 kB / 1.335 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.11e-07/1.267, allocations: 0 / 1.335 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.267, allocations: 0 / 1.335 GB, free: 3.266 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.003734/1.271, allocations: 2.001 MB / 1.337 GB, free: 18.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.271, allocations: 8.656 kB / 1.337 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/1.274, allocations: 0.4986 MB / 1.337 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/1.276, allocations: 1.12 MB / 1.338 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008413/1.277, allocations: 242.3 kB / 1.339 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/1.277, allocations: 101.6 kB / 1.339 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/1.279, allocations: 1.319 MB / 1.34 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.279, allocations: 6.031 kB / 1.34 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/1.279, allocations: 43.03 kB / 1.34 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/1.28, allocations: 45.53 kB / 1.34 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/1.282, allocations: 1.076 MB / 1.341 GB, free: 17.37 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.007633/1.289, allocations: 6.625 MB / 1.348 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.291, allocations: 0.5668 MB / 1.348 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/1.292, allocations: 274.6 kB / 1.348 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/1.292, allocations: 287.8 kB / 1.349 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.292, allocations: 40.2 kB / 1.349 GB, free: 12.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.796e-06/1.292, allocations: 3.938 kB / 1.349 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002442/1.295, allocations: 0.8611 MB / 1.349 GB, free: 12.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.295, allocations: 60.81 kB / 1.35 GB, free: 12.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/1.297, allocations: 1.358 MB / 1.351 GB, free: 12.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.297, allocations: 35.98 kB / 1.351 GB, free: 12.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/1.297, allocations: 0.6823 MB / 1.352 GB, free: 11.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.298, allocations: 117 kB / 1.352 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/1.298, allocations: 150.7 kB / 1.352 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.298, allocations: 331.5 kB / 1.352 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009017/1.299, allocations: 314.1 kB / 1.352 GB, free: 10.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.3, allocations: 0.6309 MB / 1.353 GB, free: 10.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/1.302, allocations: 0.8586 MB / 1.354 GB, free: 9.898 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.302, allocations: 5.844 kB / 1.354 GB, free: 9.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002428/1.304, allocations: 0.9878 MB / 1.355 GB, free: 9.598 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.304, allocations: 6.844 kB / 1.355 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.305, allocations: 12.69 kB / 1.355 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.305, allocations: 13.19 kB / 1.355 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/1.305, allocations: 198.8 kB / 1.355 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/1.305, allocations: 15.62 kB / 1.355 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.307, allocations: 220.6 kB / 1.355 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.761e-05/1.307, allocations: 40.03 kB / 1.355 GB, free: 9.496 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/1.309, allocations: 0.5582 MB / 1.356 GB, free: 9.246 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/1.31, allocations: 0.6215 MB / 1.357 GB, free: 8.762 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001645/1.311, allocations: 0.858 MB / 1.357 GB, free: 8.223 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/1.311, allocations: 6.516 kB / 1.357 GB, free: 8.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002382/1.314, allocations: 1.004 MB / 1.358 GB, free: 7.906 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.314, allocations: 10.22 kB / 1.358 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.314, allocations: 8.125 kB / 1.358 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.314, allocations: 12.91 kB / 1.358 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/1.315, allocations: 193.6 kB / 1.359 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.315, allocations: 25.27 kB / 1.359 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.316, allocations: 153.3 kB / 1.359 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/1.316, allocations: 37.17 kB / 1.359 GB, free: 7.848 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.0004116/1.317, allocations: 234.1 kB / 1.359 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.317, allocations: 134.7 kB / 1.359 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/1.319, allocations: 0.667 MB / 1.36 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.319, allocations: 2.219 kB / 1.36 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.319, allocations: 0 / 1.36 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.319, allocations: 5.219 kB / 1.36 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/1.323, allocations: 1.934 MB / 1.362 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.323, allocations: 5.5 kB / 1.362 GB, free: 6.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/1.323, allocations: 93.47 kB / 1.362 GB, free: 6.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/1.323, allocations: 6.625 kB / 1.362 GB, free: 6.375 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/1.323, allocations: 13.72 kB / 1.362 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.323, allocations: 3.594 kB / 1.362 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.323, allocations: 11.72 kB / 1.362 GB, free: 6.367 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/1.325, allocations: 0.8226 MB / 1.363 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/1.325, allocations: 295.8 kB / 1.363 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/1.326, allocations: 9.531 kB / 1.363 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.327, allocations: 106.6 kB / 1.363 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/1.327, allocations: 36.12 kB / 1.363 GB, free: 5.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/1.327, allocations: 24.14 kB / 1.363 GB, free: 5.578 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001481/1.328, allocations: 0.9919 MB / 1.364 GB, free: 5.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.328, allocations: 2.406 kB / 1.364 GB, free: 5.043 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001921/1.33, allocations: 0.5739 MB / 1.365 GB, free: 4.953 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.0006206/1.331, allocations: 272 kB / 1.365 GB, free: 4.789 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002942/1.334, allocations: 1.087 MB / 1.366 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.334, allocations: 0 / 1.366 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/1.335, allocations: 262.3 kB / 1.366 GB, free: 4.266 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/1.338, allocations: 0.7518 MB / 1.367 GB, free: 3.895 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/1.344, allocations: 2.678 MB / 1.369 GB, free: 2.117 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/1.344, allocations: 1.191 MB / 1.371 GB, free: 1.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001772/1.346, allocations: 361.6 kB / 1.371 GB, free: 1.008 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/1.347, allocations: 94.8 kB / 1.371 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.347, allocations: 0 / 1.371 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of Templates: time 0.04934/1.396, allocations: 24.11 MB / 1.395 GB, free: 0.8047 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches