Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 102.7 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.001463/0.001463, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.468/1.468, allocations: 223.2 MB / 240.6 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.937/2.937, allocations: 436.7 MB / 0.7113 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 11.98 kB / 0.8717 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7974, allocations: 153.7 MB / 1.022 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001737/0.7992, allocations: 1.215 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.8003, allocations: 0.6706 MB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.8003, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.8004, allocations: 3.938 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.8004, allocations: 11.92 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.8009, allocations: 95.77 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.801, allocations: 71.77 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.8011, allocations: 11.98 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.8012, allocations: 23.92 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.8013, allocations: 39.83 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.8013, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.8015, allocations: 83.91 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.8015, allocations: 15.92 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.8015, allocations: 29.7 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.8017, allocations: 105.8 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.8018, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8018, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8018, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006029/0.8024, allocations: 408.8 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8024, allocations: 11.98 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.8025, allocations: 11.84 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.8026, allocations: 171.1 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.8026, allocations: 4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.8027, allocations: 7.953 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.8028, allocations: 69.66 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.8029, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.8029, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8029, allocations: 3.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.803, allocations: 51.91 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.8036, allocations: 320.6 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.8037, allocations: 54.56 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.8038, allocations: 36.95 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.8039, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.8041, allocations: 83.31 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.8041, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003854/0.8045, allocations: 141.5 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.8045, allocations: 55.41 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.8046, allocations: 117.8 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.8047, allocations: 33.69 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.8047, allocations: 92.41 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.8047, allocations: 15.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.8048, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8049, allocations: 326.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.805, allocations: 23.98 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.266e-05/0.8051, allocations: 62.42 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/0.8052, allocations: 32 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8052, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.8054, allocations: 117.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8054, allocations: 8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.8055, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.8055, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.8056, allocations: 19.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.8056, allocations: 4.062 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.8057, allocations: 15.83 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.8057, allocations: 4 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.443e-05/0.8058, allocations: 125.8 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.8058, allocations: 8 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.8058, allocations: 8.375 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8058, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8059, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8059, allocations: 3.984 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.8063, allocations: 394.3 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8063, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.8064, allocations: 8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8064, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.8064, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8064, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8064, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.8067, allocations: 219.5 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.8067, allocations: 92.94 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.8068, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.8068, allocations: 7.984 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.8069, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.8069, allocations: 3.984 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.807, allocations: 91.28 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.344e-06/0.807, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002869/0.8073, allocations: 47.86 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003387/0.8076, allocations: 155.7 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.8078, allocations: 83.94 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8079, allocations: 3.938 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.646e-05/0.808, allocations: 35.98 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.8082, allocations: 8.516 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.8087, allocations: 226.9 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.809, allocations: 0.6926 MB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.809, allocations: 11.44 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.809, allocations: 3.938 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.003659/0.8127, allocations: 1.612 MB / 1.03 GB, free: 8.18 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEastCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEastCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEastCalcHelperMain.o] Error 1