Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 102.6 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.001063/0.001063, allocations: 172.2 kB / 16.58 MB, free: 6.398 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.831/1.831, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.816/1.816, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005626/0.0005626, allocations: 13.59 kB / 0.6743 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2744, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001936/0.2764, allocations: 1.219 MB / 0.7891 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2779, allocations: 0.7299 MB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.2781, allocations: 0 / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.2781, allocations: 7.922 kB / 0.7898 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2782, allocations: 7.922 kB / 0.7898 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.2789, allocations: 99.77 kB / 0.7899 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.2791, allocations: 83.7 kB / 0.79 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2792, allocations: 15.98 kB / 0.79 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2793, allocations: 35.84 kB / 0.7901 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.2794, allocations: 43.83 kB / 0.7901 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.2794, allocations: 4 kB / 0.7901 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2797, allocations: 83.91 kB / 0.7902 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.2797, allocations: 19.91 kB / 0.7902 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.2798, allocations: 41.64 kB / 0.7902 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.28, allocations: 108 kB / 0.7903 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.28, allocations: 0 / 0.7903 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.28, allocations: 4 kB / 0.7904 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.28, allocations: 0 / 0.7904 GB, free: 9.438 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006728/0.2807, allocations: 446.5 kB / 0.7908 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2808, allocations: 8.031 kB / 0.7908 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2808, allocations: 11.91 kB / 0.7908 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.281, allocations: 170.9 kB / 0.791 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.281, allocations: 8 kB / 0.791 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.2811, allocations: 11.98 kB / 0.791 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.2814, allocations: 93.56 kB / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2814, allocations: 0 / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2814, allocations: 0 / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2814, allocations: 0 / 0.7911 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.2816, allocations: 51.97 kB / 0.7911 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.2824, allocations: 328.7 kB / 0.7914 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.2826, allocations: 66.59 kB / 0.7915 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2827, allocations: 52.83 kB / 0.7915 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.2828, allocations: 0 / 0.7915 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.283, allocations: 95.52 kB / 0.7916 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.283, allocations: 0 / 0.7916 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000497/0.2835, allocations: 197.4 kB / 0.7918 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.2835, allocations: 67.28 kB / 0.7919 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2837, allocations: 129.7 kB / 0.792 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2837, allocations: 33.7 kB / 0.792 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.2838, allocations: 88.36 kB / 0.7921 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2838, allocations: 19.75 kB / 0.7921 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.2839, allocations: 4 kB / 0.7921 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.284, allocations: 330.8 kB / 0.7925 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.2841, allocations: 27.98 kB / 0.7925 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2842, allocations: 73.98 kB / 0.7926 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2843, allocations: 39.98 kB / 0.7926 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2843, allocations: 0 / 0.7926 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002898/0.2846, allocations: 141.4 kB / 0.7927 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2846, allocations: 4 kB / 0.7927 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2847, allocations: 4 kB / 0.7927 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2847, allocations: 0 / 0.7927 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.2848, allocations: 23.98 kB / 0.7928 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2848, allocations: 7.938 kB / 0.7928 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.2849, allocations: 19.84 kB / 0.7928 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2849, allocations: 8.156 kB / 0.7928 GB, free: 6.672 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001089/0.285, allocations: 125.8 kB / 0.7929 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.285, allocations: 3.906 kB / 0.7929 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.2851, allocations: 12.38 kB / 0.7929 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2851, allocations: 0 / 0.7929 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2851, allocations: 3.984 kB / 0.7929 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2851, allocations: 0 / 0.7929 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.2857, allocations: 438.4 kB / 0.7934 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2858, allocations: 4 kB / 0.7934 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.2858, allocations: 8.031 kB / 0.7934 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2858, allocations: 4.453 kB / 0.7934 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2858, allocations: 3.984 kB / 0.7934 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2859, allocations: 0 / 0.7934 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2859, allocations: 3.953 kB / 0.7934 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.2864, allocations: 263.3 kB / 0.7936 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.2865, allocations: 85.02 kB / 0.7937 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.2865, allocations: 0 / 0.7937 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2867, allocations: 11.98 kB / 0.7937 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.2867, allocations: 11.95 kB / 0.7937 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2867, allocations: 7.984 kB / 0.7937 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.922e-05/0.2868, allocations: 91.27 kB / 0.7938 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2868, allocations: 0 / 0.7938 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003447/0.2872, allocations: 40 kB / 0.7939 GB, free: 5.477 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003659/0.2876, allocations: 181.5 kB / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.2879, allocations: 95.83 kB / 0.7941 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2879, allocations: 0 / 0.7941 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.288, allocations: 48.33 kB / 0.7942 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2883, allocations: 19.98 kB / 0.7942 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.2887, allocations: 244.7 kB / 0.7944 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.289, allocations: 0.6926 MB / 0.7951 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.2891, allocations: 15.44 kB / 0.7951 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2891, allocations: 4 kB / 0.7951 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of Templates: time 0.003949/0.293, allocations: 1.762 MB / 0.7968 GB, free: 2.379 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitudeCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitudeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitudeCalcHelperMain.o] Error 1