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.001027/0.001026, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001332/0.001332, allocations: 168.7 kB / 15.95 MB, free: 204 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.626/2.626, allocations: 409.4 MB / 0.684 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004456, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7688, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001638/0.7705, allocations: 1.19 MB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.7716, allocations: 0.6667 MB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.7716, allocations: 0 / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.7717, allocations: 7.922 kB / 0.983 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.368e-05/0.7717, allocations: 11.94 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.7722, allocations: 95.77 kB / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.7723, allocations: 59.78 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/0.7724, allocations: 15.92 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.7725, allocations: 31.89 kB / 0.9832 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.7726, allocations: 27.91 kB / 0.9832 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.7726, allocations: 8 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.7728, allocations: 83.86 kB / 0.9833 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.7728, allocations: 7.984 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.7728, allocations: 37.64 kB / 0.9833 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.773, allocations: 102.1 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.773, allocations: 0 / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.086e-06/0.773, allocations: 4 kB / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.773, allocations: 3.938 kB / 0.9834 GB, free: 3.891 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.0005296/0.7736, allocations: 434.5 kB / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7736, allocations: 8.031 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.7737, allocations: 34.56 kB / 0.9839 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.7737, allocations: 7.906 kB / 0.9839 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7738, allocations: 170.9 kB / 0.9841 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7738, allocations: 7.938 kB / 0.9841 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.7739, allocations: 15.92 kB / 0.9841 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.774, allocations: 73.61 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7741, allocations: 0 / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7741, allocations: 0 / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.7741, allocations: 4 kB / 0.9842 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.7742, allocations: 43.95 kB / 0.9842 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.7747, allocations: 292.8 kB / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.7749, allocations: 58.48 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.775, allocations: 36.97 kB / 0.9846 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.775, allocations: 0 / 0.9846 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.7752, allocations: 79.38 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7752, allocations: 0 / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003904/0.7756, allocations: 153.8 kB / 0.9848 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.7756, allocations: 55.41 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.7757, allocations: 121.8 kB / 0.985 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.7758, allocations: 25.7 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.7758, allocations: 96.27 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.7758, allocations: 11.8 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.7758, allocations: 8 kB / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.776, allocations: 314.8 kB / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.776, allocations: 27.98 kB / 0.9854 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.7761, allocations: 65.12 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.7762, allocations: 35.91 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7763, allocations: 3.953 kB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000223/0.7765, allocations: 121.4 kB / 0.9856 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7765, allocations: 9.875 kB / 0.9856 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7765, allocations: 4.078 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.7765, allocations: 4 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.7766, allocations: 11.98 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7766, allocations: 7.984 kB / 0.9857 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.7767, allocations: 11.84 kB / 0.9857 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.7767, allocations: 8 kB / 0.9857 GB, free: 1.316 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.585e-05/0.7768, allocations: 121.8 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.7769, allocations: 15.95 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.7769, allocations: 8.359 kB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7769, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7769, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.7769, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.7774, allocations: 386.4 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.7774, allocations: 8 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.7774, allocations: 7.938 kB / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7774, allocations: 3.938 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.7774, allocations: 3.984 kB / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7775, allocations: 0 / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7775, allocations: 0 / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.7777, allocations: 215.4 kB / 0.9864 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.7778, allocations: 88.97 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.7778, allocations: 4 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.7779, allocations: 8 kB / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.778, allocations: 3.984 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.778, allocations: 4 kB / 0.9865 GB, free: 360 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.778, allocations: 91.92 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.778, allocations: 0 / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003209/0.7784, allocations: 43.98 kB / 0.9867 GB, free: 224 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.0007917/0.7792, allocations: 0.8081 MB / 0.9874 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.7794, allocations: 71.89 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7794, allocations: 0 / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.7795, allocations: 44.23 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.0002689/0.7798, allocations: 15.92 kB / 0.9876 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.7808, allocations: 0.6094 MB / 0.9882 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.7811, allocations: 0.6915 MB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.7811, allocations: 4.188 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.7812, allocations: 23.42 kB / 0.9889 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7812, allocations: 0 / 0.9889 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.7939, allocations: 2.324 MB / 0.9911 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.7942, allocations: 244.8 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.642, allocations: 0 / 0.9914 GB, free: 11.43 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