Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001794/0.001794, allocations: 96.14 kB / 15.87 MB, free: 16 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.002568/0.002568, allocations: 197.7 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5491 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 65.12 kB / 0.6715 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3826, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.003352/0.3861, allocations: 0.7427 MB / 0.7841 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3878, allocations: 0.7893 MB / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.3879, allocations: 0 / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.622e-05/0.388, allocations: 0 / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3882, allocations: 4 kB / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.195e-05/0.3882, allocations: 4 kB / 0.7848 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.3883, allocations: 23.86 kB / 0.7849 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3885, allocations: 12 kB / 0.7849 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.3886, allocations: 4 kB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.3887, allocations: 11.92 kB / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3887, allocations: 4 kB / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.3887, allocations: 0 / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.3887, allocations: 3.984 kB / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.3888, allocations: 11.94 kB / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.904e-05/0.3889, allocations: 15.97 kB / 0.7849 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3889, allocations: 4 kB / 0.7849 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3889, allocations: 0 / 0.7849 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.3889, allocations: 4 kB / 0.7849 GB, free: 12.35 MB / 0.6075 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.0005872/0.3895, allocations: 331.7 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.3896, allocations: 11.97 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3896, allocations: 8.938 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3898, allocations: 164.4 kB / 0.7854 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3898, allocations: 384 / 0.7854 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3898, allocations: 4.375 kB / 0.7854 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3901, allocations: 54.22 kB / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3901, allocations: 192 / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3901, allocations: 7.938 kB / 0.7855 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3901, allocations: 0 / 0.7855 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3903, allocations: 31.95 kB / 0.7855 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.3909, allocations: 264.8 kB / 0.7858 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.391, allocations: 34.53 kB / 0.7858 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3911, allocations: 20.91 kB / 0.7858 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3911, allocations: 0 / 0.7858 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3912, allocations: 34.56 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3912, allocations: 0 / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003715/0.3916, allocations: 77.58 kB / 0.7859 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3916, allocations: 55.41 kB / 0.786 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3918, allocations: 97.86 kB / 0.7861 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3918, allocations: 29.64 kB / 0.7861 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3918, allocations: 80.14 kB / 0.7862 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3919, allocations: 7.891 kB / 0.7862 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3919, allocations: 25.78 kB / 0.7862 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3921, allocations: 310.8 kB / 0.7865 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.3922, allocations: 11.98 kB / 0.7865 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.3923, allocations: 15.98 kB / 0.7865 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3924, allocations: 36.81 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3925, allocations: 8 kB / 0.7866 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001987/0.3927, allocations: 57.61 kB / 0.7866 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3927, allocations: 8.938 kB / 0.7866 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3927, allocations: 0 / 0.7866 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3927, allocations: 0 / 0.7866 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.393, allocations: 27.95 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.393, allocations: 4.031 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.393, allocations: 8 kB / 0.7867 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.393, allocations: 0 / 0.7867 GB, free: 10.33 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/0.3931, allocations: 114.4 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3932, allocations: 0 / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3932, allocations: 7.125 kB / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3932, allocations: 0 / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3932, allocations: 0 / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3932, allocations: 0 / 0.7868 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3934, allocations: 161.6 kB / 0.787 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3934, allocations: 0 / 0.787 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3936, allocations: 31.95 kB / 0.787 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3936, allocations: 0 / 0.787 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3936, allocations: 0 / 0.787 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3936, allocations: 0 / 0.787 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3936, allocations: 0 / 0.787 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3939, allocations: 167.4 kB / 0.7871 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.394, allocations: 77.11 kB / 0.7872 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.394, allocations: 4 kB / 0.7872 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.3941, allocations: 7.984 kB / 0.7872 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3941, allocations: 0 / 0.7872 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3941, allocations: 0 / 0.7872 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.3942, allocations: 83.45 kB / 0.7873 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3942, allocations: 4.031 kB / 0.7873 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002171/0.3944, allocations: 4 kB / 0.7873 GB, free: 9.582 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.3946, allocations: 107.2 kB / 0.7874 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3948, allocations: 27.91 kB / 0.7874 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3948, allocations: 4 kB / 0.7875 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.3949, allocations: 23.98 kB / 0.7875 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3953, allocations: 7.938 kB / 0.7875 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.3957, allocations: 133.9 kB / 0.7876 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3961, allocations: 0.677 MB / 0.7883 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3961, allocations: 7.438 kB / 0.7883 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.3961, allocations: 0 / 0.7883 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.002271/0.3984, allocations: 0.5195 MB / 0.7888 GB, free: 8.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSignCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSignCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSignCalcHelperMain.o] Error 1