Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.0009483/0.0009479, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001011/0.001011, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.602/2.602, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7513, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001993/0.7534, allocations: 1.182 MB / 0.982 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7546, allocations: 0.6706 MB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.7547, allocations: 8 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.7547, allocations: 0 / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.068e-05/0.7548, allocations: 15.91 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.7552, allocations: 91.7 kB / 0.9828 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.253e-05/0.7553, allocations: 43.88 kB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.7554, allocations: 15.97 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.7555, allocations: 27.92 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.7556, allocations: 27.91 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.7556, allocations: 0 / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.7558, allocations: 71.86 kB / 0.983 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.7558, allocations: 11.98 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.7559, allocations: 37.64 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.756, allocations: 98.02 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.756, allocations: 0 / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7561, allocations: 3.938 kB / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.7561, allocations: 0 / 0.9831 GB, free: 3.961 MB / 0.7325 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.0005734/0.7566, allocations: 442.5 kB / 0.9835 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7567, allocations: 8.031 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.7567, allocations: 38.55 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.7568, allocations: 3.906 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.7569, allocations: 170.9 kB / 0.9837 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.757, allocations: 8 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.757, allocations: 4 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.7572, allocations: 77.61 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7572, allocations: 0 / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.7572, allocations: 7.922 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7572, allocations: 4 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.7574, allocations: 35.98 kB / 0.9839 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.7579, allocations: 300.8 kB / 0.9842 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.758, allocations: 46.56 kB / 0.9842 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.758, allocations: 4 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.7582, allocations: 87.44 kB / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.7582, allocations: 0 / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003986/0.7587, allocations: 145.6 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.7587, allocations: 59.41 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.7588, allocations: 125.7 kB / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.7589, allocations: 33.7 kB / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.7589, allocations: 84.33 kB / 0.9847 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.7589, allocations: 15.81 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.7589, allocations: 0 / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7591, allocations: 322.8 kB / 0.985 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.7592, allocations: 27.92 kB / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.7593, allocations: 65.14 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.7594, allocations: 35.98 kB / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7594, allocations: 0 / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002458/0.7596, allocations: 125.4 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7596, allocations: 4 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7597, allocations: 4 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7597, allocations: 4.156 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.7598, allocations: 19.92 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7598, allocations: 4 kB / 0.9853 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.7599, allocations: 19.83 kB / 0.9853 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.7599, allocations: 4 kB / 0.9853 GB, free: 1.414 MB / 0.7325 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.pDown,bli.pDown,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 9.945e-05/0.76, allocations: 115.2 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.76, allocations: 7.953 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.7601, allocations: 12.38 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7601, allocations: 7.938 kB / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7601, allocations: 0 / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.7601, allocations: 0 / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.7605, allocations: 386.3 kB / 0.9858 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7606, allocations: 3.984 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.7606, allocations: 8 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.7606, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.7606, allocations: 4 kB / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7606, allocations: 3.938 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7607, allocations: 48 / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.761, allocations: 227.3 kB / 0.9861 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.761, allocations: 85.05 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.761, allocations: 0 / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.7611, allocations: 7.984 kB / 0.9862 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.7612, allocations: 4 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.7612, allocations: 7.984 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.7613, allocations: 95.27 kB / 0.9863 GB, free: 364 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7613, allocations: 0 / 0.9863 GB, free: 364 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003032/0.7616, allocations: 36 kB / 0.9863 GB, free: 328 kB / 0.7325 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.pDown,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.0008824/0.7625, allocations: 0.8192 MB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.7627, allocations: 71.91 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7627, allocations: 0 / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.7628, allocations: 40.28 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.763, allocations: 12 kB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.7642, allocations: 1.193 MB / 0.9884 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.7645, allocations: 0.6887 MB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.7646, allocations: 4.188 kB / 0.9891 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.7646, allocations: 23.42 kB / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.7646, allocations: 0 / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.7813, allocations: 2.304 MB / 0.9913 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.7817, allocations: 234.4 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.651, allocations: 0 / 0.9916 GB, free: 11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat does not exist to compare? outputFormat=mat