Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.2 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 193 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009758/0.0009758, allocations: 103.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 10.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001453/0.2465, allocations: 1.191 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.2475, allocations: 0.7345 MB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.2475, allocations: 4 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.2476, allocations: 3.938 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.2476, allocations: 7.984 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.248, allocations: 95.73 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.2481, allocations: 39.89 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.2482, allocations: 16.17 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.2483, allocations: 35.84 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.2484, allocations: 35.78 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2484, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2485, allocations: 71.92 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.2486, allocations: 15.92 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.2486, allocations: 33.7 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.2487, allocations: 104 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2488, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2488, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2488, allocations: 0 / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004321/0.2492, allocations: 434.5 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2492, allocations: 12.03 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.2493, allocations: 38.5 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.2493, allocations: 7.906 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.2494, allocations: 174.9 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2494, allocations: 7.984 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.2495, allocations: 8 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2496, allocations: 69.66 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.2497, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2497, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2497, allocations: 0 / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2498, allocations: 51.91 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.2502, allocations: 312.7 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2504, allocations: 46.56 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2504, allocations: 4.125 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.2506, allocations: 83.31 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.2506, allocations: 0 / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003611/0.251, allocations: 149.5 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.251, allocations: 63.34 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.2511, allocations: 127 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2511, allocations: 25.7 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.2511, allocations: 100.2 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.2511, allocations: 11.97 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.2512, allocations: 4 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.2512, allocations: 322.8 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.2513, allocations: 19.98 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.2514, allocations: 69.08 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.2514, allocations: 35.97 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2514, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001865/0.2516, allocations: 125.4 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2517, allocations: 4 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2517, allocations: 4 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2517, allocations: 4.156 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.2518, allocations: 19.92 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2518, allocations: 3.938 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.2518, allocations: 23.8 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2519, allocations: 4 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,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 (11): * Single equations (assignments): 11 * 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 5.891e-05/0.2519, allocations: 121.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.2519, allocations: 7.906 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.252, allocations: 12.38 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.252, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.252, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.252, allocations: 0 / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.2523, allocations: 390.4 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2524, allocations: 0 / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.2524, allocations: 11.98 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2524, allocations: 0 / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2524, allocations: 8 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2524, allocations: 0 / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2524, allocations: 3.953 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.2527, allocations: 223.3 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.2528, allocations: 85.02 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2528, allocations: 8 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.2529, allocations: 4 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2529, allocations: 7.938 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.2529, allocations: 4 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.253, allocations: 101.4 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 0 / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002742/0.2533, allocations: 39.98 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006197/0.2539, allocations: 0.8243 MB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2541, allocations: 79.83 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2541, allocations: 0 / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.2542, allocations: 40.28 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.2544, allocations: 16.73 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.255, allocations: 1.191 MB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2551, allocations: 0.6887 MB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.2552, allocations: 4.188 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.2552, allocations: 23.42 kB / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2552, allocations: 0 / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.2665, allocations: 2.404 MB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.2667, allocations: 262.9 kB / 0.9904 GB, free: 16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/1.703, allocations: 7.094 kB / 0.9904 GB, free: 16 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)