Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBra.yVAV|vavBra.yVal|TSupAir.y|vavBra.terHea.sta_b1.T|vavBra.senMasFlo.m_flow",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") translateModel(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBra.yVAV|vavBra.yVal|TSupAir.y|vavBra.terHea.sta_b1.T|vavBra.senMasFlo.m_flow",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 102 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001313, allocations: 175.1 kB / 16.58 MB, free: 6.09 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.505/1.505, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 436.7 MB / 0.7113 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003897, allocations: 8 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.007, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.245/1.252, allocations: 196.9 MB / 1.214 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02053/1.273, allocations: 11.97 MB / 1.226 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/1.276, allocations: 47.69 kB / 1.226 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/1.278, allocations: 0.5626 MB / 1.226 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007465/1.286, allocations: 1.819 MB / 1.228 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006598/1.292, allocations: 1.825 MB / 1.23 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007119/1.3, allocations: 4.39 MB / 1.234 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/1.302, allocations: 1.099 MB / 1.235 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006176/1.308, allocations: 1.871 MB / 1.237 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003884/1.312, allocations: 1.44 MB / 1.238 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004922/1.313, allocations: 92 kB / 1.239 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006982/1.32, allocations: 2.34 MB / 1.241 GB, free: 136 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009202/1.321, allocations: 0.5334 MB / 1.241 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/1.322, allocations: 392.7 kB / 1.242 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00669/1.328, allocations: 3.566 MB / 1.245 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/1.328, allocations: 0 / 1.245 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.657e-06/1.328, allocations: 0 / 1.245 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.734e-05/1.329, allocations: 0 / 1.245 GB, free: 11.63 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008137/1.337, allocations: 2.362 MB / 1.248 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/1.337, allocations: 15.98 kB / 1.248 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/1.34, allocations: 0.5168 MB / 1.248 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/1.344, allocations: 1.855 MB / 1.25 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/1.345, allocations: 222.3 kB / 1.25 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/1.345, allocations: 116 kB / 1.25 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/1.348, allocations: 1.578 MB / 1.252 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.348, allocations: 7.938 kB / 1.252 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/1.348, allocations: 44 kB / 1.252 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/1.348, allocations: 45.98 kB / 1.252 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/1.352, allocations: 1.737 MB / 1.253 GB, free: 2.977 MB / 0.9981 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.854/2.206, allocations: 7.6 MB / 1.261 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/2.21, allocations: 1.388 MB / 1.262 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/2.211, allocations: 0.6884 MB / 1.263 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/2.212, allocations: 0.7221 MB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/2.212, allocations: 46.36 kB / 1.264 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=69): time 3.266e-06/2.212, allocations: 1.812 kB / 1.264 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69): time 0.006109/2.218, allocations: 2.052 MB / 1.266 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/2.218, allocations: 111.4 kB / 1.266 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004154/2.223, allocations: 2.088 MB / 1.268 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003835/2.223, allocations: 44.3 kB / 1.268 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007464/2.224, allocations: 0.7058 MB / 1.269 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/2.224, allocations: 244.4 kB / 1.269 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/2.224, allocations: 20.5 kB / 1.269 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001186/2.224, allocations: 359.6 kB / 1.269 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/2.227, allocations: 1.383 MB / 1.271 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/2.231, allocations: 1.748 MB / 1.272 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/2.233, allocations: 1.26 MB / 1.273 GB, free: 222 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/2.233, allocations: 1.219 kB / 1.273 GB, free: 222 MB / 0.9981 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006424/2.24, allocations: 3.066 MB / 1.276 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/2.24, allocations: 295.3 kB / 1.277 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/2.24, allocations: 7.188 kB / 1.277 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.251e-05/2.24, allocations: 13.66 kB / 1.277 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/2.241, allocations: 335.1 kB / 1.277 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/2.242, allocations: 20.95 kB / 1.277 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/2.244, allocations: 311.8 kB / 1.277 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/2.244, allocations: 54.56 kB / 1.277 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/2.244, allocations: 7.438 kB / 1.277 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00586/2.25, allocations: 2.893 MB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/2.25, allocations: 6.875 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/2.25, allocations: 13.3 kB / 1.28 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/2.252, allocations: 335.8 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/2.252, allocations: 11.81 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/2.254, allocations: 280.1 kB / 1.281 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/2.254, allocations: 53.28 kB / 1.281 GB, free: 219.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime,vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001243/2.255, allocations: 0.5184 MB / 1.281 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/2.256, allocations: 173.3 kB / 1.282 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/2.259, allocations: 1.589 MB / 1.283 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/2.259, allocations: 11.91 kB / 1.283 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.259, allocations: 0 / 1.283 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/2.259, allocations: 7.406 kB / 1.283 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/2.265, allocations: 3.523 MB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/2.265, allocations: 7.781 kB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/2.266, allocations: 218.9 kB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/2.266, allocations: 3.438 kB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/2.266, allocations: 35 kB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/2.266, allocations: 3.875 kB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/2.266, allocations: 3.125 kB / 1.287 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/2.27, allocations: 2.544 MB / 1.289 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008509/2.271, allocations: 450.6 kB / 1.29 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/2.272, allocations: 19.05 kB / 1.29 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/2.273, allocations: 162.4 kB / 1.29 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/2.273, allocations: 58.61 kB / 1.29 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/2.273, allocations: 35.34 kB / 1.29 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00199/2.275, allocations: 1.442 MB / 1.291 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/2.275, allocations: 0 / 1.291 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003226/2.278, allocations: 0.9975 MB / 1.292 GB, free: 212.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/2.28, allocations: 0.5686 MB / 1.293 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006492/2.286, allocations: 4.036 MB / 1.297 GB, free: 207.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/2.286, allocations: 0 / 1.297 GB, free: 207.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/2.288, allocations: 0.7302 MB / 1.298 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/2.291, allocations: 0.6702 MB / 1.298 GB, free: 206.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/2.296, allocations: 3.554 MB / 1.302 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/2.296, allocations: 1.299 MB / 1.303 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/2.297, allocations: 143.4 kB / 1.303 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.854e-06/2.297, allocations: 0 / 1.303 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04832/2.345, allocations: 33 MB / 1.335 GB, free: 168.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranchCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranchCalcHelperMain.o] Error 1