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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.158/1.158, allocations: 205.1 MB / 222 MB, free: 4.762 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.505/1.505, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.00149/0.001491, allocations: 70.94 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2894, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002612/0.292, allocations: 1.562 MB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2933, allocations: 0.7878 MB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.2933, allocations: 0 / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.2934, allocations: 3.938 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2934, allocations: 7.875 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.2939, allocations: 111.8 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.734e-05/0.294, allocations: 83.78 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.808e-05/0.2941, allocations: 15.98 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.2942, allocations: 39.84 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.2943, allocations: 43.81 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2943, allocations: 4 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2945, allocations: 83.92 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.2945, allocations: 23.91 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.2946, allocations: 39.8 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2948, allocations: 159.7 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2948, allocations: 0 / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2948, allocations: 0 / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2948, allocations: 0 / 0.7857 GB, free: 10.91 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.0006124/0.2954, allocations: 462.5 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2955, allocations: 8.031 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.2955, allocations: 38.75 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.2956, allocations: 12.83 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2957, allocations: 176.2 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.2957, allocations: 4.375 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2958, allocations: 12.38 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.296, allocations: 93.69 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.296, allocations: 0 / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.296, allocations: 4 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.296, allocations: 3.938 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.2962, allocations: 43.97 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.2967, allocations: 320.7 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.2969, allocations: 62.55 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.297, allocations: 48.83 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.297, allocations: 8 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.2973, allocations: 95.3 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.2973, allocations: 0 / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004616/0.2977, allocations: 181.8 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.2978, allocations: 59.55 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2979, allocations: 133.4 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2979, allocations: 33.8 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.298, allocations: 96.31 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.298, allocations: 23.73 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.2981, allocations: 25.72 kB / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2982, allocations: 326.8 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.2983, allocations: 31.97 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2984, allocations: 77.08 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.2986, allocations: 113.8 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2987, allocations: 0 / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002529/0.2989, allocations: 141.3 kB / 0.7882 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2989, allocations: 4 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2989, allocations: 4 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.299, allocations: 4 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.2991, allocations: 20.08 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2991, allocations: 4 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.2991, allocations: 4 kB / 0.7882 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2992, allocations: 4 kB / 0.7882 GB, free: 8.004 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.0001027/0.2993, allocations: 130.4 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2993, allocations: 11.89 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.2993, allocations: 16.31 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2993, allocations: 0 / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2994, allocations: 4 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2994, allocations: 0 / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.2999, allocations: 434.3 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2999, allocations: 0 / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3, allocations: 15.92 kB / 0.7888 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3, allocations: 0 / 0.7888 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3, allocations: 0 / 0.7888 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3, allocations: 4 kB / 0.7888 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3, allocations: 7.938 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3004, allocations: 247.4 kB / 0.7891 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.3005, allocations: 81.11 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3005, allocations: 8 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3006, allocations: 7.984 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.3007, allocations: 11.92 kB / 0.7892 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3007, allocations: 4 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.3007, allocations: 99.27 kB / 0.7893 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3007, allocations: 0 / 0.7893 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003246/0.3011, allocations: 47.89 kB / 0.7893 GB, free: 6.797 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.0009136/0.302, allocations: 0.8324 MB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3023, allocations: 92.02 kB / 0.7902 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3023, allocations: 3.938 kB / 0.7902 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3024, allocations: 52.22 kB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3027, allocations: 23.92 kB / 0.7903 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3045, allocations: 1.613 MB / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3049, allocations: 0.6887 MB / 0.7925 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.305, allocations: 4 kB / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.305, allocations: 23.42 kB / 0.7926 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3051, allocations: 0 / 0.7926 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.3249, allocations: 2.748 MB / 0.7953 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003733/0.3253, allocations: 269.2 kB / 0.7955 GB, free: 380 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.188, allocations: 0 / 0.7955 GB, free: 380 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)