Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001179, allocations: 92.16 kB / 16.02 MB, free: 80 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.002307/0.002307, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.4 MB / 223.1 MB, free: 5.555 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.883/1.883, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0006205/0.0006206, allocations: 17.53 kB / 0.675 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2893, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001917/0.2913, allocations: 1.231 MB / 0.7897 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2927, allocations: 0.7762 MB / 0.7905 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2927, allocations: 0 / 0.7905 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.2927, allocations: 3.984 kB / 0.7905 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.2928, allocations: 11.88 kB / 0.7905 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2933, allocations: 107.8 kB / 0.7906 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.2934, allocations: 91.69 kB / 0.7907 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.2935, allocations: 12 kB / 0.7907 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.2936, allocations: 31.91 kB / 0.7907 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.2937, allocations: 39.83 kB / 0.7908 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2938, allocations: 8 kB / 0.7908 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2939, allocations: 91.84 kB / 0.7909 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.294, allocations: 19.91 kB / 0.7909 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.294, allocations: 57.56 kB / 0.7909 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.2942, allocations: 116 kB / 0.7911 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2942, allocations: 0 / 0.7911 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2942, allocations: 0 / 0.7911 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2943, allocations: 4 kB / 0.7911 GB, free: 8.965 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.0006172/0.2949, allocations: 442.7 kB / 0.7915 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2949, allocations: 12.03 kB / 0.7915 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.295, allocations: 8.844 kB / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2951, allocations: 176.3 kB / 0.7917 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.2952, allocations: 8.375 kB / 0.7917 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2952, allocations: 8.375 kB / 0.7917 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.2954, allocations: 93.88 kB / 0.7918 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2954, allocations: 4 kB / 0.7918 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2954, allocations: 4 kB / 0.7918 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2955, allocations: 4 kB / 0.7918 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.2956, allocations: 47.97 kB / 0.7918 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.2962, allocations: 332.5 kB / 0.7921 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.2964, allocations: 66.56 kB / 0.7922 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2965, allocations: 44.83 kB / 0.7923 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2966, allocations: 11.98 kB / 0.7923 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.2968, allocations: 99.33 kB / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2968, allocations: 0 / 0.7924 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004982/0.2973, allocations: 197.5 kB / 0.7926 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2974, allocations: 59.41 kB / 0.7926 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2975, allocations: 125.8 kB / 0.7927 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2975, allocations: 29.7 kB / 0.7928 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2976, allocations: 96.22 kB / 0.7928 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.2976, allocations: 27.88 kB / 0.7929 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.2976, allocations: 21.72 kB / 0.7929 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2978, allocations: 322.8 kB / 0.7932 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.2978, allocations: 35.98 kB / 0.7932 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.298, allocations: 73.98 kB / 0.7933 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2982, allocations: 117.9 kB / 0.7934 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2982, allocations: 0 / 0.7934 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002624/0.2984, allocations: 141.4 kB / 0.7936 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2985, allocations: 4 kB / 0.7936 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2985, allocations: 4 kB / 0.7936 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2985, allocations: 0 / 0.7936 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.2986, allocations: 23.92 kB / 0.7936 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2986, allocations: 4 kB / 0.7936 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.2987, allocations: 16.06 kB / 0.7936 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2987, allocations: 4 kB / 0.7936 GB, free: 6.074 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.2988, allocations: 129.7 kB / 0.7937 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.2989, allocations: 11.89 kB / 0.7937 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.2989, allocations: 12.38 kB / 0.7938 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2989, allocations: 0 / 0.7938 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2989, allocations: 0 / 0.7938 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2989, allocations: 0 / 0.7938 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.2995, allocations: 442.7 kB / 0.7942 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2995, allocations: 0 / 0.7942 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.2996, allocations: 7.984 kB / 0.7942 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2996, allocations: 0 / 0.7942 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2996, allocations: 4 kB / 0.7942 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2996, allocations: 0 / 0.7942 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2996, allocations: 11.94 kB / 0.7942 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.3, allocations: 247.3 kB / 0.7944 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.3, allocations: 85.02 kB / 0.7945 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3001, allocations: 4 kB / 0.7945 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.3002, allocations: 15.98 kB / 0.7945 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3002, allocations: 7.922 kB / 0.7945 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3002, allocations: 8 kB / 0.7946 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.3003, allocations: 100.3 kB / 0.7946 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3003, allocations: 3.938 kB / 0.7947 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003019/0.3006, allocations: 43.98 kB / 0.7947 GB, free: 4.863 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 (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.0004044/0.301, allocations: 173.2 kB / 0.7949 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.3013, allocations: 95.89 kB / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3013, allocations: 0 / 0.7949 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3015, allocations: 56.23 kB / 0.795 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3017, allocations: 11.98 kB / 0.795 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.3022, allocations: 258.8 kB / 0.7953 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3025, allocations: 0.6926 MB / 0.7959 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3025, allocations: 11.44 kB / 0.7959 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.3025, allocations: 0 / 0.7959 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of Templates: time 0.00396/0.3065, allocations: 1.766 MB / 0.7977 GB, free: 1.766 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensityCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensityCalcHelperMain.o] Error 1