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.001272/0.001272, allocations: 100.1 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.001428/0.001427, allocations: 177.3 kB / 15.95 MB, free: 216 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.615/1.615, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.558/2.558, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005109, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8278, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001465/0.8294, allocations: 1.187 MB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.8304, allocations: 0.6628 MB / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.8305, allocations: 0 / 0.9827 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.8305, allocations: 11.92 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.8306, allocations: 15.97 kB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.831, allocations: 91.64 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.8311, allocations: 39.94 kB / 0.9828 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.8312, allocations: 15.98 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.8313, allocations: 27.91 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.8314, allocations: 31.84 kB / 0.9829 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.8314, allocations: 4 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.8315, allocations: 75.86 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.8316, allocations: 7.922 kB / 0.983 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.8316, allocations: 37.7 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.8318, allocations: 98.02 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.8318, allocations: 0 / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8318, allocations: 0 / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.8318, allocations: 0 / 0.9831 GB, free: 3.965 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.0005122/0.8323, allocations: 438.5 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8323, allocations: 12.03 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.8324, allocations: 34.5 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.8324, allocations: 7.906 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.8325, allocations: 178.9 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.8326, allocations: 4 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.8326, allocations: 3.984 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.8328, allocations: 81.61 kB / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.8328, allocations: 0 / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8328, allocations: 0 / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.8328, allocations: 0 / 0.9838 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.833, allocations: 47.91 kB / 0.9839 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.8334, allocations: 300.8 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.8336, allocations: 46.56 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.8336, allocations: 0 / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.8338, allocations: 87.44 kB / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8338, allocations: 0 / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.8342, allocations: 145.5 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.8343, allocations: 55.41 kB / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.8344, allocations: 125.8 kB / 0.9846 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.8344, allocations: 29.7 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.8345, allocations: 96.38 kB / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.8345, allocations: 15.81 kB / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.8345, allocations: 0 / 0.9847 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8346, allocations: 318.8 kB / 0.985 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.8347, allocations: 23.98 kB / 0.9851 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.8348, allocations: 69.08 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.8349, allocations: 27.98 kB / 0.9852 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8349, allocations: 8 kB / 0.9852 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002347/0.8351, allocations: 121.4 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8352, allocations: 4 kB / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8352, allocations: 0 / 0.9853 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.8352, allocations: 4 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.8353, allocations: 20.14 kB / 0.9853 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8353, allocations: 3.938 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.8354, allocations: 23.78 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.8354, allocations: 0 / 0.9853 GB, free: 1.422 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.029e-05/0.8355, allocations: 123.4 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.8355, allocations: 7.953 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.8356, allocations: 12.38 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.8356, allocations: 0 / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8356, allocations: 4 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8356, allocations: 0 / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.8361, allocations: 390.3 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8361, allocations: 0 / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.8361, allocations: 7.984 kB / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8361, allocations: 0 / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8361, allocations: 7.938 kB / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8362, allocations: 0 / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8362, allocations: 0 / 0.9859 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.8364, allocations: 223.3 kB / 0.9861 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.8365, allocations: 85.05 kB / 0.9862 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.8365, allocations: 4 kB / 0.9862 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.8366, allocations: 7.984 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.8367, allocations: 4.047 kB / 0.9862 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.8367, allocations: 7.984 kB / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.8367, allocations: 91.92 kB / 0.9863 GB, free: 372 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8368, allocations: 0 / 0.9863 GB, free: 372 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000314/0.8371, allocations: 39.98 kB / 0.9863 GB, free: 332 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.0007461/0.8378, allocations: 0.8096 MB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.8381, allocations: 79.83 kB / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8381, allocations: 0 / 0.9872 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.8382, allocations: 35.98 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.8384, allocations: 17.33 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.8392, allocations: 1.186 MB / 0.9884 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.8395, allocations: 0.6965 MB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.8395, allocations: 4.188 kB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.8396, allocations: 23.42 kB / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.8396, allocations: 0 / 0.9891 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.8542, allocations: 2.299 MB / 0.9913 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.8544, allocations: 236.6 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.677, allocations: 2.25 kB / 0.9916 GB, free: 11 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