Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007331/0.000733, 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.00109/0.00109, 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.414/1.414, 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.802/2.802, allocations: 436.7 MB / 0.7113 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 12 kB / 0.8717 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8915/0.8919, allocations: 153.7 MB / 1.022 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005625/0.8976, allocations: 4.631 MB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.9012, allocations: 1.658 MB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.902, allocations: 31.88 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.9025, allocations: 186.2 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.903, allocations: 127 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.904, allocations: 422.3 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.9053, allocations: 1.374 MB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.9061, allocations: 0.5185 MB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.9065, allocations: 342 kB / 1.031 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.907, allocations: 409.2 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.9071, allocations: 40 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.9072, allocations: 55.92 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.9074, allocations: 167 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.9075, allocations: 221 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.9087, allocations: 1.424 MB / 1.033 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.9088, allocations: 8 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9088, allocations: 0 / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.9088, allocations: 0 / 1.033 GB, free: 5.438 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002454/0.9112, allocations: 1.516 MB / 1.035 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.9113, allocations: 12.03 kB / 1.035 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.9115, allocations: 158.1 kB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/0.9125, allocations: 0.7036 MB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.9126, allocations: 86.17 kB / 1.035 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.9128, allocations: 116 kB / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.9147, allocations: 1.108 MB / 1.037 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.9148, allocations: 0 / 1.037 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.9149, allocations: 48 kB / 1.037 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.9149, allocations: 24 kB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.9166, allocations: 0.8628 MB / 1.038 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005348/0.922, allocations: 3.929 MB / 1.041 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.924, allocations: 1.033 MB / 1.042 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/0.9248, allocations: 478.6 kB / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.9249, allocations: 16.64 kB / 1.043 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008515/0.9257, allocations: 440.7 kB / 1.043 GB, free: 10.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.9257, allocations: 4 kB / 1.043 GB, free: 10.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=84): time 0.002247/0.928, allocations: 1.093 MB / 1.044 GB, free: 9.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.9282, allocations: 226.5 kB / 1.045 GB, free: 9.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.9294, allocations: 0.8487 MB / 1.045 GB, free: 8.359 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.616e-05/0.9295, allocations: 49.69 kB / 1.045 GB, free: 8.305 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.9302, allocations: 0.5581 MB / 1.046 GB, free: 7.738 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.9305, allocations: 287.8 kB / 1.046 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.9306, allocations: 24 kB / 1.046 GB, free: 7.43 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9307, allocations: 341.9 kB / 1.047 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007541/0.9315, allocations: 349.8 kB / 1.047 GB, free: 6.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/0.9325, allocations: 0.599 MB / 1.048 GB, free: 6.051 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/0.9333, allocations: 444.5 kB / 1.048 GB, free: 5.613 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.9333, allocations: 4 kB / 1.048 GB, free: 5.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002002/0.9353, allocations: 1.092 MB / 1.049 GB, free: 4.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.9355, allocations: 250.2 kB / 1.049 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.9355, allocations: 11.92 kB / 1.049 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.9356, allocations: 12 kB / 1.049 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.9363, allocations: 211.7 kB / 1.05 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.9364, allocations: 12 kB / 1.05 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.9372, allocations: 202.9 kB / 1.05 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.9372, allocations: 43.97 kB / 1.05 GB, free: 3.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.9372, allocations: 4 kB / 1.05 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/0.9385, allocations: 0.8022 MB / 1.051 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9385, allocations: 4 kB / 1.051 GB, free: 2.891 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.9385, allocations: 8 kB / 1.051 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.9391, allocations: 167.8 kB / 1.051 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.9392, allocations: 19.92 kB / 1.051 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.9398, allocations: 155.3 kB / 1.051 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.9398, allocations: 35.98 kB / 1.051 GB, free: 2.512 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0005789/0.9404, allocations: 349.7 kB / 1.051 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.9406, allocations: 106.6 kB / 1.051 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.9408, allocations: 114.9 kB / 1.051 GB, free: 1.941 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.9408, allocations: 8 kB / 1.051 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.9408, allocations: 3.938 kB / 1.051 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.9408, allocations: 7.938 kB / 1.051 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.942, allocations: 0.9787 MB / 1.052 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.942, allocations: 0 / 1.052 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.9427, allocations: 171.8 kB / 1.053 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.9427, allocations: 0 / 1.053 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.9427, allocations: 27.97 kB / 1.053 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.9427, allocations: 4 kB / 1.053 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9427, allocations: 0 / 1.053 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.945, allocations: 1.265 MB / 1.054 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.9452, allocations: 187.6 kB / 1.054 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.9453, allocations: 19.94 kB / 1.054 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.9457, allocations: 83.94 kB / 1.054 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.9457, allocations: 40.94 kB / 1.054 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.9458, allocations: 27.98 kB / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008346/0.9466, allocations: 0.5789 MB / 1.055 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9467, allocations: 0 / 1.055 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001116/0.9478, allocations: 410.2 kB / 1.055 GB, free: 14.05 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002973/0.9481, allocations: 131.1 kB / 1.055 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002438/0.9505, allocations: 1.393 MB / 1.057 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9505, allocations: 0 / 1.057 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.9512, allocations: 401.7 kB / 1.057 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.9522, allocations: 236.3 kB / 1.057 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.9555, allocations: 2.317 MB / 1.06 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.9562, allocations: 1.077 MB / 1.061 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.9565, allocations: 83.42 kB / 1.061 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of SimCode: time 1.092e-06/0.9565, allocations: 0 / 1.061 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of Templates: time 0.02629/0.9828, allocations: 13.18 MB / 1.074 GB, free: 11.18 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDCalcHelperMain.o] Error 1