Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009879, allocations: 99.44 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.001291/0.001291, allocations: 174.9 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.452/1.452, allocations: 223.2 MB / 240.6 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 436.7 MB / 0.7113 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7245, allocations: 153.6 MB / 1.022 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00113/0.7257, allocations: 0.6634 MB / 1.022 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.7274, allocations: 1.413 MB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.7275, allocations: 4 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.7275, allocations: 7.875 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.7277, allocations: 35.7 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000938/0.7286, allocations: 388.1 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.7289, allocations: 383.2 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.7291, allocations: 41.81 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.7292, allocations: 147.5 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.7294, allocations: 119.5 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.7294, allocations: 16 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.7295, allocations: 35.97 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.7296, allocations: 23.86 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.7297, allocations: 69.58 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.73, allocations: 373 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.73, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.73, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.73, allocations: 0 / 1.025 GB, free: 13.41 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006257/0.7307, allocations: 0.5754 MB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7307, allocations: 11.98 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.7308, allocations: 27.81 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.731, allocations: 217.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.731, allocations: 15.95 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.7311, allocations: 24 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.7313, allocations: 121 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7313, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7313, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.7313, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.7314, allocations: 55.91 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.7323, allocations: 0.8796 MB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.7325, allocations: 118.4 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.7326, allocations: 51.48 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.7326, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.7329, allocations: 177 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/0.7329, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0004129/0.7333, allocations: 233.9 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.7334, allocations: 136.5 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.7336, allocations: 236.9 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.7336, allocations: 37.7 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.7338, allocations: 140.3 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.7338, allocations: 31.56 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.7338, allocations: 8 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7339, allocations: 334.8 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.7342, allocations: 144.2 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.7346, allocations: 230.6 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.7349, allocations: 254.7 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7349, allocations: 4 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008459/0.7357, allocations: 0.5468 MB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.7358, allocations: 134.8 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7358, allocations: 4 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7359, allocations: 7.984 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.736, allocations: 15.89 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.736, allocations: 4 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/0.7367, allocations: 160 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.7368, allocations: 31.92 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001567/0.7369, allocations: 145.8 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.737, allocations: 19.72 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.737, allocations: 21.23 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.737, allocations: 4 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.737, allocations: 3.953 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.737, allocations: 7.938 kB / 1.03 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.7373, allocations: 253.5 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7373, allocations: 8 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.7373, allocations: 19.92 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7373, allocations: 0 / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.7374, allocations: 4 kB / 1.031 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7374, allocations: 4 kB / 1.031 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7374, allocations: 4 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.7377, allocations: 227.2 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.7377, allocations: 92.92 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.7378, allocations: 7.984 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.7378, allocations: 8 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.7379, allocations: 11.94 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.7379, allocations: 12 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000146/0.738, allocations: 164.5 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.738, allocations: 0 / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003301/0.7384, allocations: 75.84 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001695/0.7386, allocations: 111.2 kB / 1.031 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006713/0.7392, allocations: 0.5209 MB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7393, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.7394, allocations: 89.16 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.7398, allocations: 72.25 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.7404, allocations: 405.4 kB / 1.032 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.7407, allocations: 0.7361 MB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.7408, allocations: 15.44 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7408, allocations: 0 / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of Templates: time 0.005957/0.7467, allocations: 3.46 MB / 1.036 GB, free: 1.383 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Sources.Validation.PulseCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.o] Error 1