Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008906, allocations: 102.6 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.0009451/0.0009452, allocations: 176.6 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.62/1.62, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8949, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001683/0.8967, allocations: 1.2 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.8978, allocations: 0.6784 MB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.8979, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.8979, allocations: 3.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.898, allocations: 15.86 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.8985, allocations: 95.77 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.8986, allocations: 63.78 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.8987, allocations: 11.98 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.8988, allocations: 31.91 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.8989, allocations: 39.83 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.8989, allocations: 4 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.8991, allocations: 79.92 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.8991, allocations: 19.91 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.8992, allocations: 29.7 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.8994, allocations: 101.8 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8994, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.557e-06/0.8994, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8994, allocations: 3.938 kB / 1.024 GB, free: 14.75 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.0005857/0.9, allocations: 408.8 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.9, allocations: 15.92 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.9001, allocations: 7.906 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.9002, allocations: 171 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.9003, allocations: 8 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.9003, allocations: 7.953 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.9005, allocations: 69.66 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.9005, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.9005, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.9005, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.9006, allocations: 47.91 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.9013, allocations: 324.6 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.9014, allocations: 54.55 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.9015, allocations: 32.97 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.9015, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.9017, allocations: 83.31 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.9017, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003756/0.9021, allocations: 149.8 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.9021, allocations: 55.41 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.9022, allocations: 121.8 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.9023, allocations: 33.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.9023, allocations: 84.33 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.9023, allocations: 15.81 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.9024, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9025, allocations: 326.8 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.9026, allocations: 27.98 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.9027, allocations: 63.28 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.9028, allocations: 39.98 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9028, allocations: 3.938 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.903, allocations: 117.5 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.903, allocations: 8 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.903, allocations: 80 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9031, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.9032, allocations: 23.98 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9032, allocations: 3.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.9032, allocations: 15.84 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.9033, allocations: 3.984 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 0.0001037/0.9034, allocations: 128.7 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.9034, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.9034, allocations: 8.375 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9034, allocations: 4 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9035, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9035, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.9039, allocations: 394.3 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9039, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.904, allocations: 7.984 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.904, allocations: 8.031 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.904, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.904, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.904, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.9043, allocations: 215.4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.9043, allocations: 85.02 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.9044, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.9045, allocations: 8.062 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.9045, allocations: 11.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.9045, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.9046, allocations: 99.27 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.523e-06/0.9046, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002906/0.9049, allocations: 47.86 kB / 1.027 GB, free: 11.13 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,occ.y,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.0003282/0.9052, allocations: 152.2 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.9055, allocations: 75.89 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9055, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.9056, allocations: 44.03 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.9058, allocations: 15.89 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.9062, allocations: 222.8 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.9065, allocations: 0.6945 MB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.9065, allocations: 11.44 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.9065, allocations: 0 / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of Templates: time 0.003762/0.9103, allocations: 1.603 MB / 1.03 GB, free: 8.262 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTInCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTInCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTInCalcHelperMain.o] Error 1