Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 100.5 kB / 15.71 MB, free: 452 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.00135/0.00135, allocations: 176 kB / 16.58 MB, free: 6.422 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.557/1.557, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 436.7 MB / 0.7113 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 16.2 kB / 0.8717 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.793, allocations: 153.7 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001119/0.7942, allocations: 0.614 MB / 1.022 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.7955, allocations: 1.03 MB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.7956, allocations: 4 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.586e-05/0.7957, allocations: 11.88 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.7958, allocations: 39.75 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.7961, allocations: 91.84 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.7964, allocations: 295.3 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.7966, allocations: 33.66 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.7968, allocations: 147.5 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.797, allocations: 191.5 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.7971, allocations: 16 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.7971, allocations: 16 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.7973, allocations: 91.75 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.7973, allocations: 61.58 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.7976, allocations: 241.3 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7976, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7976, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7976, allocations: 0 / 1.025 GB, free: 14.23 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001903/0.7995, allocations: 0.8188 MB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7996, allocations: 15.98 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.7997, allocations: 27.7 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.8003, allocations: 330.5 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.8004, allocations: 20 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.8004, allocations: 27.94 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.8012, allocations: 339 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.8012, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.8013, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.8013, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/0.8019, allocations: 223.7 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.8034, allocations: 0.7502 MB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.804, allocations: 281 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.8045, allocations: 193.6 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8045, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006642/0.8052, allocations: 353.6 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.8052, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001591/0.8068, allocations: 0.6366 MB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.8069, allocations: 93.09 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.8071, allocations: 218.7 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.8072, allocations: 49.7 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.8073, allocations: 129 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.8074, allocations: 79.17 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.8074, allocations: 4 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8076, allocations: 346.8 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.8078, allocations: 112.8 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.8081, allocations: 177.5 kB / 1.03 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.8083, allocations: 84.94 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8083, allocations: 0 / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005498/0.8088, allocations: 339.1 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8089, allocations: 4 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.8089, allocations: 4 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8089, allocations: 4 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.8091, allocations: 43.91 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.8091, allocations: 8.125 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.8095, allocations: 107.5 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.8095, allocations: 12 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.zerHolTim.y,zerHolTim.y,$PRE.sta.y,sta.y,$whenCondition4,$whenCondition3,$PRE.sta.tNext,sta.tNext,$PRE.sta.upperThreshold,sta.upperThreshold,$PRE.sta.lowerThreshold,sta.lowerThreshold,$PRE.sta.checkUpper,sta.checkUpper,$PRE.sta.checkLower,sta.checkLower,$PRE.zerHolTim.tNext,zerHolTim.tNext,$PRE.zerHolTim.upperThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.lowerThreshold,$PRE.zerHolTim.checkUpper,zerHolTim.checkUpper,$PRE.zerHolTim.checkLower,zerHolTim.checkLower,$PRE.lesHolTim.y,lesHolTim.y,$PRE.sta1.y,sta1.y,$whenCondition2,$whenCondition1,$PRE.sta1.tNext,sta1.tNext,$PRE.sta1.upperThreshold,sta1.upperThreshold,$PRE.sta1.lowerThreshold,sta1.lowerThreshold,$PRE.sta1.checkUpper,sta1.checkUpper,$PRE.sta1.checkLower,sta1.checkLower,$PRE.lesHolTim.tNext,lesHolTim.tNext,$PRE.lesHolTim.upperThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.lowerThreshold,$PRE.lesHolTim.checkUpper,lesHolTim.checkUpper,$PRE.lesHolTim.checkLower,lesHolTim.checkLower) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001868/0.8097, allocations: 167 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.8097, allocations: 27.7 kB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.8098, allocations: 29.53 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8098, allocations: 4 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8098, allocations: 4 kB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8099, allocations: 7.984 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.8102, allocations: 309.2 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8102, allocations: 0 / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.8103, allocations: 15.92 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8103, allocations: 7.938 kB / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.8103, allocations: 15.97 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8103, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8103, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.8114, allocations: 0.5214 MB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.8115, allocations: 100.8 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.8116, allocations: 12 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.812, allocations: 95.89 kB / 1.031 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.8121, allocations: 79.84 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.8122, allocations: 19.97 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001092/0.8123, allocations: 148.4 kB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.064e-06/0.8123, allocations: 3.938 kB / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002823/0.8126, allocations: 67.92 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0001835/0.8128, allocations: 135.2 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007874/0.8136, allocations: 365.1 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8136, allocations: 0 / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005065/0.8141, allocations: 202 kB / 1.032 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.8145, allocations: 63.89 kB / 1.032 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.8157, allocations: 0.6112 MB / 1.033 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.816, allocations: 0.7407 MB / 1.034 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.8161, allocations: 35.41 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8161, allocations: 4 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.006043/0.8222, allocations: 4.021 MB / 1.038 GB, free: 292 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.Controls.OBC.CDL.Integers.Validation.StageCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.StageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.StageCalcHelperMain.o] Error 1