Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s|pidSca.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 99.12 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.001586/0.001586, allocations: 176.3 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.469/1.469, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 436.7 MB / 0.7113 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003731, allocations: 12.22 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7721, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002886/0.7751, allocations: 1.667 MB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.7778, allocations: 1.627 MB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.778, allocations: 11.94 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.7783, allocations: 67.38 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.7785, allocations: 55.56 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.7794, allocations: 326.3 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.7801, allocations: 0.6608 MB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.7806, allocations: 256.7 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.7808, allocations: 195.1 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.7811, allocations: 222.6 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.7811, allocations: 24 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.7813, allocations: 35.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.7813, allocations: 83.55 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.7815, allocations: 121.4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.7821, allocations: 0.6681 MB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7821, allocations: 3.938 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7821, allocations: 0 / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.7821, allocations: 0 / 1.028 GB, free: 11.08 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001414/0.7835, allocations: 0.87 MB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7836, allocations: 15.97 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.7837, allocations: 67.25 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.7843, allocations: 412.8 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.7844, allocations: 41.31 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.7845, allocations: 64 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.7854, allocations: 0.5347 MB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.7854, allocations: 0 / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.7854, allocations: 24 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.7855, allocations: 12 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.7862, allocations: 377.1 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.7887, allocations: 1.693 MB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.7897, allocations: 0.9126 MB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.7902, allocations: 247.3 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.7902, allocations: 16.36 kB / 1.033 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006341/0.7909, allocations: 281.3 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=53): time 2.364e-06/0.7909, allocations: 4 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53): time 0.001137/0.792, allocations: 0.6 MB / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.7921, allocations: 111.2 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.7926, allocations: 401.5 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.7927, allocations: 41.7 kB / 1.034 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.7929, allocations: 261 kB / 1.034 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.7931, allocations: 173.5 kB / 1.035 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.7931, allocations: 12 kB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.7933, allocations: 362.8 kB / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.7937, allocations: 209 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.7943, allocations: 319.3 kB / 1.035 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.7948, allocations: 285.4 kB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7948, allocations: 0 / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001256/0.7961, allocations: 0.6844 MB / 1.036 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.7962, allocations: 203.7 kB / 1.037 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7962, allocations: 0 / 1.037 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.7963, allocations: 4 kB / 1.037 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.7967, allocations: 107.8 kB / 1.037 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.7968, allocations: 8 kB / 1.037 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.7973, allocations: 139.4 kB / 1.037 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.7974, allocations: 20 kB / 1.037 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.7974, allocations: 7.984 kB / 1.037 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009796/0.7984, allocations: 0.5781 MB / 1.037 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7984, allocations: 4 kB / 1.037 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/0.7984, allocations: 4.141 kB / 1.037 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.7987, allocations: 87.84 kB / 1.037 GB, free: 496 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7987, allocations: 4 kB / 1.037 GB, free: 492 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.7992, allocations: 120.5 kB / 1.038 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.7993, allocations: 27.97 kB / 1.038 GB, free: 344 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0003403/0.7996, allocations: 278.6 kB / 1.038 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.7997, allocations: 47.34 kB / 1.038 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008932/0.8006, allocations: 489.5 kB / 1.038 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.8006, allocations: 4 kB / 1.038 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8006, allocations: 4 kB / 1.038 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8006, allocations: 3.984 kB / 1.038 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.8024, allocations: 1.233 MB / 1.04 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8024, allocations: 3.953 kB / 1.04 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.8028, allocations: 87.89 kB / 1.04 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.8028, allocations: 7.938 kB / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.8029, allocations: 8 kB / 1.04 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.8029, allocations: 8.125 kB / 1.04 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.8029, allocations: 8 kB / 1.04 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.8041, allocations: 0.8029 MB / 1.041 GB, free: 13.24 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.8043, allocations: 140.4 kB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.8043, allocations: 15.98 kB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.8046, allocations: 27.98 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.8047, allocations: 36.39 kB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.8047, allocations: 20.11 kB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003504/0.8051, allocations: 283.2 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8051, allocations: 0 / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007961/0.8059, allocations: 227.2 kB / 1.041 GB, free: 12.49 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002887/0.8062, allocations: 131 kB / 1.041 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.8079, allocations: 1.017 MB / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8079, allocations: 4.062 kB / 1.042 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.8083, allocations: 234.3 kB / 1.043 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.809, allocations: 97.83 kB / 1.043 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.8109, allocations: 1.217 MB / 1.044 GB, free: 9.699 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.8114, allocations: 0.8635 MB / 1.045 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.8115, allocations: 39.44 kB / 1.045 GB, free: 8.77 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.8115, allocations: 3.938 kB / 1.045 GB, free: 8.766 MB / 0.795 GB Notification: Performance of Templates: time 0.009921/0.8215, allocations: 6.452 MB / 1.051 GB, free: 2.34 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.Reals.Validation.PIDWithResetScaleCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScaleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScaleCalcHelperMain.o] Error 1