Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0007591/0.0007592, 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.0009229/0.000923, allocations: 178.5 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.468/1.468, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.708/2.708, allocations: 390.5 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 11.98 kB / 0.8155 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8177, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001033/0.8188, allocations: 0.642 MB / 0.9551 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.8204, allocations: 1.417 MB / 0.9564 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.8204, allocations: 1.375 kB / 0.9564 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.8205, allocations: 7.875 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.8206, allocations: 41.34 kB / 0.9565 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.8215, allocations: 385.2 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.8219, allocations: 385.3 kB / 0.9572 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.822, allocations: 32.33 kB / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.8222, allocations: 146.5 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.8224, allocations: 117.6 kB / 0.9575 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.8224, allocations: 17.72 kB / 0.9575 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.8225, allocations: 36.89 kB / 0.9576 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.8226, allocations: 27.66 kB / 0.9576 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.8227, allocations: 67.83 kB / 0.9577 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.823, allocations: 379.8 kB / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.823, allocations: 0 / 0.958 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.823, allocations: 3.938 kB / 0.958 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.823, allocations: 0 / 0.958 GB, free: 5.406 MB / 0.7169 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.000614/0.8236, allocations: 0.5653 MB / 0.9586 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8237, allocations: 13.66 kB / 0.9586 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.8237, allocations: 29.16 kB / 0.9586 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.8239, allocations: 221.6 kB / 0.9588 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.8239, allocations: 14.72 kB / 0.9588 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.824, allocations: 18.16 kB / 0.9589 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.8242, allocations: 121.3 kB / 0.959 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8242, allocations: 9.281 kB / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.8242, allocations: 9.297 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.8242, allocations: 5.266 kB / 0.959 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.8244, allocations: 50.62 kB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007701/0.8251, allocations: 0.8802 MB / 0.9599 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.8253, allocations: 119.1 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.8253, allocations: 50.55 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.8254, allocations: 1.375 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.8256, allocations: 173.5 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.8256, allocations: 0 / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004145/0.826, allocations: 226.9 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.8261, allocations: 133 kB / 0.9606 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.8263, allocations: 237.8 kB / 0.9608 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.8263, allocations: 37.36 kB / 0.9608 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.8264, allocations: 138.8 kB / 0.961 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.8265, allocations: 32.83 kB / 0.961 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.8265, allocations: 11.38 kB / 0.961 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.8266, allocations: 330.7 kB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.8269, allocations: 147.7 kB / 0.9615 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.8272, allocations: 229.7 kB / 0.9617 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.8275, allocations: 250.5 kB / 0.9619 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8275, allocations: 4.75 kB / 0.9619 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008115/0.8283, allocations: 0.5484 MB / 0.9625 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.8284, allocations: 141.9 kB / 0.9626 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.8284, allocations: 3.125 kB / 0.9626 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8284, allocations: 3.219 kB / 0.9626 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.8285, allocations: 13.78 kB / 0.9626 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.8285, allocations: 7.562 kB / 0.9626 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/0.8292, allocations: 159.5 kB / 0.9628 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.8293, allocations: 27.17 kB / 0.9628 GB, free: 1.258 MB / 0.7169 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.0001423/0.8294, allocations: 152.9 kB / 0.963 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.8295, allocations: 20.44 kB / 0.963 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.8295, allocations: 23.67 kB / 0.963 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.8295, allocations: 5.938 kB / 0.963 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8295, allocations: 1.969 kB / 0.963 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8295, allocations: 4.969 kB / 0.963 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.8297, allocations: 264.4 kB / 0.9633 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8298, allocations: 0.9062 kB / 0.9633 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.8298, allocations: 12.89 kB / 0.9633 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8298, allocations: 1.906 kB / 0.9633 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.8298, allocations: 3.031 kB / 0.9633 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.8298, allocations: 1.906 kB / 0.9633 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8298, allocations: 1 kB / 0.9633 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.8301, allocations: 228.3 kB / 0.9635 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.8302, allocations: 94.77 kB / 0.9636 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.8302, allocations: 10.2 kB / 0.9636 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.8303, allocations: 10.7 kB / 0.9636 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.8303, allocations: 14.23 kB / 0.9636 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8303, allocations: 10.05 kB / 0.9636 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001378/0.8305, allocations: 165.1 kB / 0.9638 GB, free: 400 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8305, allocations: 4 kB / 0.9638 GB, free: 396 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003368/0.8308, allocations: 74.7 kB / 0.9639 GB, free: 380 kB / 0.7169 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.0001581/0.831, allocations: 113.8 kB / 0.964 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007032/0.8317, allocations: 0.5252 MB / 0.9645 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8317, allocations: 1.469 kB / 0.9645 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.8319, allocations: 90.27 kB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.8323, allocations: 57.72 kB / 0.9646 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.8331, allocations: 404.8 kB / 0.965 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.8335, allocations: 0.7285 MB / 0.9657 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.8335, allocations: 22.8 kB / 0.9657 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.8335, allocations: 0 / 0.9657 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.006445/0.84, allocations: 3.464 MB / 0.9691 GB, free: 12.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile make -j1 -f Buildings_9_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_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.PulseCalcHelperMain.o] Error 1