Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 109.4 kB / 15.69 MB, free: 128 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.00163/0.00163, allocations: 188.1 kB / 16.62 MB, free: 6.582 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.0015/0.001501, allocations: 72.23 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.321, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.004163/0.3252, allocations: 1.476 MB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3264, allocations: 480.8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.3265, allocations: 3.938 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.3265, allocations: 3.984 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.3266, allocations: 15.86 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.3269, allocations: 23.92 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.3271, allocations: 55.78 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3272, allocations: 11.98 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3274, allocations: 23.92 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.3275, allocations: 23.91 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3275, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.3275, allocations: 0 / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3276, allocations: 15.94 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.3276, allocations: 31.8 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3278, allocations: 48.09 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3278, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3278, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3278, allocations: 0 / 0.7858 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007066/0.3285, allocations: 410.7 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3286, allocations: 8.031 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.3287, allocations: 30.75 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3287, allocations: 12.84 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3289, allocations: 164.4 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3289, allocations: 4.375 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.329, allocations: 4.375 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3292, allocations: 69.72 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3292, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3293, allocations: 3.938 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3293, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3295, allocations: 39.91 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.3301, allocations: 280.8 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3302, allocations: 46.47 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.3304, allocations: 28.94 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3304, allocations: 4 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.3307, allocations: 71.38 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.3308, allocations: 0 / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0004865/0.3313, allocations: 105.8 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.3313, allocations: 55.34 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3315, allocations: 125.7 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3315, allocations: 25.7 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.3316, allocations: 88.14 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3316, allocations: 11.91 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.3317, allocations: 21.7 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3318, allocations: 314.8 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.332, allocations: 24.05 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3321, allocations: 48.28 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.3323, allocations: 76.2 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3323, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002846/0.3326, allocations: 89.45 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3327, allocations: 4 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3327, allocations: 4 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3327, allocations: 0 / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3328, allocations: 15.98 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3328, allocations: 4.312 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.3329, allocations: 4 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.333, allocations: 7.984 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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.000116/0.3331, allocations: 126.7 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3331, allocations: 11.89 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.3332, allocations: 7.969 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3332, allocations: 3.938 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3332, allocations: 0 / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3332, allocations: 0 / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.3338, allocations: 346.5 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3338, allocations: 0 / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.3339, allocations: 7.922 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3339, allocations: 4 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3339, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3339, allocations: 3.938 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3339, allocations: 0 / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3343, allocations: 187.4 kB / 0.7885 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3344, allocations: 81.11 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3344, allocations: 128 / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3345, allocations: 15.92 kB / 0.7886 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.3346, allocations: 0 / 0.7886 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.3346, allocations: 4 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001073/0.3347, allocations: 99.2 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3348, allocations: 0 / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004071/0.3352, allocations: 12 kB / 0.7887 GB, free: 7.613 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007043/0.3359, allocations: 0.7163 MB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3362, allocations: 55.91 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3362, allocations: 0 / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3363, allocations: 27.92 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.3368, allocations: 18.36 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.339, allocations: 1.395 MB / 0.7909 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3393, allocations: 0.6885 MB / 0.7916 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.3394, allocations: 4 kB / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.3395, allocations: 15.44 kB / 0.7916 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.595e-06/0.3395, allocations: 0 / 0.7916 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3656, allocations: 1.627 MB / 0.7932 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.308, allocations: 6.688 kB / 0.7932 GB, free: 3.062 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1)