Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|changSign.u|changSign.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007848/0.0007847, 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.0009961/0.0009961, 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.522/1.522, allocations: 223.2 MB / 240.6 MB, free: 5.441 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.709/2.709, allocations: 390.4 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 8 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.938, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0009403/0.939, allocations: 398.1 kB / 0.9548 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.9398, allocations: 0.7789 MB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.9398, allocations: 4 kB / 0.9556 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.9399, allocations: 5.219 kB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.9399, allocations: 4 kB / 0.9556 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.411e-05/0.94, allocations: 4.891 kB / 0.9556 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.9401, allocations: 23.73 kB / 0.9556 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.9402, allocations: 2.094 kB / 0.9556 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.9402, allocations: 8.203 kB / 0.9556 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.9403, allocations: 14.48 kB / 0.9556 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.9403, allocations: 1.062 kB / 0.9556 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.9403, allocations: 5.031 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.9403, allocations: 0 / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.9404, allocations: 26.89 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.389e-05/0.9404, allocations: 15.56 kB / 0.9557 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.9404, allocations: 3.984 kB / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9404, allocations: 0 / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.9405, allocations: 1.219 kB / 0.9557 GB, free: 7.059 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003547/0.9408, allocations: 333.5 kB / 0.956 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9409, allocations: 8.469 kB / 0.956 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.9409, allocations: 14.12 kB / 0.956 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.301e-05/0.941, allocations: 164.2 kB / 0.9562 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.941, allocations: 0 / 0.9562 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.941, allocations: 5.438 kB / 0.9562 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.9412, allocations: 50.86 kB / 0.9562 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.9412, allocations: 0 / 0.9562 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.9412, allocations: 11.98 kB / 0.9562 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9412, allocations: 0 / 0.9562 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.9414, allocations: 43.33 kB / 0.9563 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.9418, allocations: 281.2 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.9419, allocations: 32.56 kB / 0.9566 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.942, allocations: 29.69 kB / 0.9566 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.942, allocations: 1.406 kB / 0.9566 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.942, allocations: 30.56 kB / 0.9566 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.942, allocations: 1.156 kB / 0.9566 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003161/0.9423, allocations: 101.9 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.9424, allocations: 52.88 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.9424, allocations: 102.1 kB / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.9425, allocations: 26.98 kB / 0.9569 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.9425, allocations: 80.14 kB / 0.957 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.9425, allocations: 5.219 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.9425, allocations: 0 / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.9426, allocations: 316.1 kB / 0.9573 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.9427, allocations: 20.88 kB / 0.9573 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.9427, allocations: 17.7 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.9428, allocations: 25.08 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9428, allocations: 0 / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001698/0.943, allocations: 83.56 kB / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.943, allocations: 4.812 kB / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.943, allocations: 0 / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.943, allocations: 5.141 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.9432, allocations: 31.94 kB / 0.9575 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9432, allocations: 5.344 kB / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.9433, allocations: 9.109 kB / 0.9575 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.9433, allocations: 1.75 kB / 0.9575 GB, free: 5.262 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 (1): * Single equations (assignments): 1 * 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.108e-05/0.9434, allocations: 107.5 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.9434, allocations: 0 / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.9434, allocations: 4.562 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.9434, allocations: 0 / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9434, allocations: 3.953 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.9434, allocations: 5.375 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.9435, allocations: 157.7 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9435, allocations: 3.938 kB / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.9437, allocations: 35.84 kB / 0.9578 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9437, allocations: 1.25 kB / 0.9578 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.9437, allocations: 3.938 kB / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.9437, allocations: 5.188 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9437, allocations: 0 / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.9439, allocations: 173.6 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.9439, allocations: 78.36 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.944, allocations: 0 / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.944, allocations: 10.58 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.9441, allocations: 1 kB / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.9441, allocations: 0 / 0.9581 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.9441, allocations: 90.38 kB / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9441, allocations: 0 / 0.9581 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002015/0.9443, allocations: 3.438 kB / 0.9582 GB, free: 4.574 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 (1): * Single equations (assignments): 1 * 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.0001048/0.9444, allocations: 101 kB / 0.9582 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.9446, allocations: 39.41 kB / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9446, allocations: 64 / 0.9583 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.9447, allocations: 30.78 kB / 0.9583 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.945, allocations: 5.141 kB / 0.9583 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.9453, allocations: 127.4 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.9454, allocations: 0.6763 MB / 0.9591 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.9455, allocations: 12.69 kB / 0.9591 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9455, allocations: 0 / 0.9591 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.001812/0.9473, allocations: 0.5082 MB / 0.9596 GB, free: 3.352 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSignCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSignCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSignCalcHelperMain.o] Error 1