Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_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.0009525/0.0009525, allocations: 98.89 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.0008681/0.0008681, allocations: 180 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.388/1.388, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.563/2.563, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9302/0.9306, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001564/0.9322, allocations: 1.201 MB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.9333, allocations: 0.7055 MB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.9333, allocations: 0 / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.9334, allocations: 11.92 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.9334, allocations: 6.219 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.9339, allocations: 101 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.934, allocations: 80.25 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.9341, allocations: 17.53 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.9342, allocations: 28.73 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.9343, allocations: 47.81 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.9343, allocations: 4.594 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.9345, allocations: 86.08 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.9346, allocations: 14.34 kB / 0.9567 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.9346, allocations: 42.08 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.9348, allocations: 109.2 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.9348, allocations: 1.125 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9348, allocations: 0 / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9349, allocations: 0 / 0.9568 GB, free: 6.297 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005458/0.9354, allocations: 443.2 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.9355, allocations: 9.219 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.9355, allocations: 11.92 kB / 0.9572 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.9356, allocations: 175.1 kB / 0.9574 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.9356, allocations: 7.969 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.9357, allocations: 8.688 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.9359, allocations: 96.89 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9359, allocations: 1.469 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9359, allocations: 0 / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9359, allocations: 1.281 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.9361, allocations: 53.36 kB / 0.9576 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.9366, allocations: 328.7 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.9367, allocations: 64.47 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.9368, allocations: 47.17 kB / 0.958 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.9369, allocations: 5.266 kB / 0.958 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.9371, allocations: 106.5 kB / 0.9581 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.9371, allocations: 0 / 0.9581 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004649/0.9375, allocations: 200.2 kB / 0.9583 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.9376, allocations: 57.38 kB / 0.9583 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.9377, allocations: 130.2 kB / 0.9585 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.9377, allocations: 31.48 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.9377, allocations: 86.19 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.9378, allocations: 27.27 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.9378, allocations: 5.75 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.9378, allocations: 320.6 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.9379, allocations: 33.95 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.938, allocations: 75.62 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.9381, allocations: 37.12 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9381, allocations: 1.031 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002532/0.9384, allocations: 145.1 kB / 0.9592 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9384, allocations: 5.5 kB / 0.9592 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9384, allocations: 1.25 kB / 0.9592 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9385, allocations: 6.516 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.9386, allocations: 21.14 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.9386, allocations: 1.969 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.9386, allocations: 14.44 kB / 0.9592 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.9387, allocations: 8.328 kB / 0.9592 GB, free: 4.035 MB / 0.7169 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 8.232e-05/0.9388, allocations: 120.4 kB / 0.9594 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.9388, allocations: 8.188 kB / 0.9594 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.9388, allocations: 14.66 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9388, allocations: 8.891 kB / 0.9594 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9388, allocations: 0 / 0.9594 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.9388, allocations: 0 / 0.9594 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.9393, allocations: 447.6 kB / 0.9598 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9394, allocations: 0 / 0.9598 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.9394, allocations: 4.375 kB / 0.9598 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9394, allocations: 9.172 kB / 0.9598 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.9394, allocations: 5.172 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9394, allocations: 5.562 kB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9395, allocations: 96 / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.9398, allocations: 257.8 kB / 0.9601 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.9398, allocations: 91.97 kB / 0.9602 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.9398, allocations: 5.391 kB / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.9399, allocations: 4.469 kB / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.94, allocations: 6.828 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.94, allocations: 6.312 kB / 0.9602 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.9401, allocations: 98.86 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9401, allocations: 0 / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003403/0.9404, allocations: 43.58 kB / 0.9603 GB, free: 3.055 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: 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.000338/0.9407, allocations: 155.4 kB / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.941, allocations: 101.5 kB / 0.9606 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.941, allocations: 0 / 0.9606 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.9412, allocations: 56.78 kB / 0.9606 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.9415, allocations: 15.17 kB / 0.9606 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.9419, allocations: 249.8 kB / 0.9609 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.9421, allocations: 0.6904 MB / 0.9616 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.9421, allocations: 19.55 kB / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.9421, allocations: 0 / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.003907/0.946, allocations: 1.767 MB / 0.9633 GB, free: 1.035 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensityCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensityCalcHelperMain.o] Error 1