Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001358/0.001358, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001811/0.001811, allocations: 172.7 kB / 15.95 MB, free: 208 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.443/1.443, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.552/2.552, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 15.98 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7515, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001627/0.7532, allocations: 1.194 MB / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.7543, allocations: 0.6745 MB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.7544, allocations: 3.938 kB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.7544, allocations: 0 / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.7545, allocations: 11.86 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.755, allocations: 91.78 kB / 0.9831 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.7551, allocations: 71.77 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.7552, allocations: 11.98 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.7552, allocations: 27.91 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.7553, allocations: 23.91 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.7553, allocations: 7.938 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.7555, allocations: 87.84 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.7556, allocations: 15.92 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.7556, allocations: 37.7 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.7558, allocations: 94.08 kB / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7558, allocations: 0 / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7558, allocations: 4 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7558, allocations: 0 / 0.9834 GB, free: 3.898 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.0005413/0.7563, allocations: 434.4 kB / 0.9838 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7564, allocations: 12.03 kB / 0.9838 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.7564, allocations: 34.56 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.7565, allocations: 11.89 kB / 0.9839 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7566, allocations: 174.9 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.7566, allocations: 4 kB / 0.9841 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.7567, allocations: 8 kB / 0.9841 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.7568, allocations: 73.61 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7569, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.7569, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.7569, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.757, allocations: 47.97 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.7575, allocations: 304.7 kB / 0.9845 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.7577, allocations: 46.56 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.7578, allocations: 36.97 kB / 0.9846 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.7578, allocations: 4 kB / 0.9846 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.758, allocations: 75.38 kB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.758, allocations: 0 / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003954/0.7584, allocations: 157.5 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.7585, allocations: 55.41 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.7586, allocations: 117.8 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.7586, allocations: 33.7 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.7587, allocations: 84.33 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.7587, allocations: 15.81 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.7587, allocations: 4 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.7588, allocations: 322.8 kB / 0.9854 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.7589, allocations: 23.92 kB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.493e-05/0.759, allocations: 61.14 kB / 0.9855 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.7591, allocations: 39.92 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7591, allocations: 3.953 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/0.7594, allocations: 121.4 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7594, allocations: 4 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.7594, allocations: 4.047 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7594, allocations: 3.984 kB / 0.9856 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.7595, allocations: 19.92 kB / 0.9857 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.7595, allocations: 4 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.7596, allocations: 15.98 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.7596, allocations: 15.94 kB / 0.9857 GB, free: 1.312 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 8.861e-05/0.7597, allocations: 114.8 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.7597, allocations: 7.953 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.7598, allocations: 8.375 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.7598, allocations: 4 kB / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7598, allocations: 0 / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7598, allocations: 0 / 0.9858 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.7603, allocations: 394.3 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.7603, allocations: 3.984 kB / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.7604, allocations: 4 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.7604, allocations: 0 / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.7604, allocations: 4 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7604, allocations: 0 / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7604, allocations: 0 / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.7608, allocations: 219.7 kB / 0.9864 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.7608, allocations: 89.05 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.7609, allocations: 0 / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/0.761, allocations: 11.92 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.761, allocations: 8 kB / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.761, allocations: 3.984 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.7611, allocations: 99.2 kB / 0.9866 GB, free: 264 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7611, allocations: 0 / 0.9866 GB, free: 264 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003749/0.7615, allocations: 36 kB / 0.9867 GB, free: 228 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.001049/0.7626, allocations: 0.8082 MB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.7629, allocations: 79.97 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7629, allocations: 0 / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.763, allocations: 43.91 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.7633, allocations: 4 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.7646, allocations: 0.6131 MB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.7648, allocations: 0.6849 MB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.7649, allocations: 8.156 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.7649, allocations: 23.44 kB / 0.9889 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of SimCode: time 1.083e-06/0.765, allocations: 0 / 0.9889 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.78, allocations: 2.32 MB / 0.9911 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.7802, allocations: 252.1 kB / 0.9914 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.722, allocations: 1.562 kB / 0.9914 GB, free: 11.46 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat does not exist to compare? outputFormat=mat