Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009693/0.0009692, 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.001417/0.001417, allocations: 175.7 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.446/1.446, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.502/2.502, allocations: 390.4 MB / 0.6662 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7945, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.0008374/0.7954, allocations: 430.8 kB / 0.9548 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000828/0.7962, allocations: 0.7953 MB / 0.9556 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.7963, allocations: 1.312 kB / 0.9556 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.7963, allocations: 3.938 kB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.7964, allocations: 1.531 kB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.283e-05/0.7964, allocations: 9.422 kB / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.7965, allocations: 37.48 kB / 0.9557 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.7966, allocations: 20.89 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.7967, allocations: 9.875 kB / 0.9557 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.7967, allocations: 20.44 kB / 0.9557 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7968, allocations: 1.438 kB / 0.9557 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.7968, allocations: 1.875 kB / 0.9557 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.7968, allocations: 13.17 kB / 0.9557 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.7968, allocations: 31.11 kB / 0.9558 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.5e-05/0.7969, allocations: 26.03 kB / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7969, allocations: 0 / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7969, allocations: 0.8125 kB / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7969, allocations: 0 / 0.9558 GB, free: 7.027 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00044/0.7974, allocations: 372.5 kB / 0.9561 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7974, allocations: 9.719 kB / 0.9562 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.7975, allocations: 10.58 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.7976, allocations: 161.2 kB / 0.9563 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.7976, allocations: 5.812 kB / 0.9563 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.7976, allocations: 1.5 kB / 0.9563 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.7978, allocations: 80.11 kB / 0.9564 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7979, allocations: 0 / 0.9564 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.7979, allocations: 0 / 0.9564 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7979, allocations: 5.375 kB / 0.9564 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.7982, allocations: 90.61 kB / 0.9565 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.7985, allocations: 263.2 kB / 0.9567 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.7987, allocations: 70.31 kB / 0.9568 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.7988, allocations: 44.7 kB / 0.9569 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.7988, allocations: 4.656 kB / 0.9569 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.7989, allocations: 43.86 kB / 0.9569 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7989, allocations: 0 / 0.9569 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004888/0.7994, allocations: 162.5 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.7994, allocations: 52.44 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.7995, allocations: 107.3 kB / 0.9572 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.7995, allocations: 33.7 kB / 0.9572 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.7995, allocations: 82.58 kB / 0.9573 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.7996, allocations: 20.86 kB / 0.9573 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.7996, allocations: 0 / 0.9573 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.7996, allocations: 312.1 kB / 0.9576 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.7998, allocations: 47.2 kB / 0.9577 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.7999, allocations: 39.47 kB / 0.9577 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.8, allocations: 45.94 kB / 0.9578 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8, allocations: 1.031 kB / 0.9578 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002864/0.8003, allocations: 120.5 kB / 0.9579 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.8004, allocations: 9.281 kB / 0.9579 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8004, allocations: 0 / 0.9579 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8004, allocations: 4.281 kB / 0.9579 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.8005, allocations: 23.98 kB / 0.9579 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.8005, allocations: 0 / 0.9579 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.8006, allocations: 16.05 kB / 0.9579 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.8006, allocations: 5.406 kB / 0.9579 GB, free: 5.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.498e-05/0.8007, allocations: 107.3 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.8007, allocations: 14.44 kB / 0.9581 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.8007, allocations: 9.312 kB / 0.9581 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8008, allocations: 4 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8008, allocations: 3.953 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8008, allocations: 1.312 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.8009, allocations: 168.9 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.8009, allocations: 0 / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.801, allocations: 26.94 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.801, allocations: 1.188 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.801, allocations: 4 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.801, allocations: 5.344 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.801, allocations: 0 / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.8014, allocations: 211.5 kB / 0.9585 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.8014, allocations: 82.42 kB / 0.9585 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.8014, allocations: 7.984 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.8015, allocations: 15.42 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.8016, allocations: 7.219 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.8016, allocations: 0 / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.8016, allocations: 98.16 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8016, allocations: 0 / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002087/0.8018, allocations: 5.281 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001288/0.802, allocations: 104.4 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.8023, allocations: 89.86 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8023, allocations: 0 / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.8024, allocations: 50.86 kB / 0.9589 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.8027, allocations: 9.188 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.803, allocations: 155.5 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.8031, allocations: 0.6803 MB / 0.9597 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.8031, allocations: 13.06 kB / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8032, allocations: 0 / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.002227/0.8054, allocations: 0.7271 MB / 0.9605 GB, free: 2.969 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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.Continuous.Validation.DivideCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.DivideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.DivideCalcHelperMain.o] Error 1