Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001217/0.001217, allocations: 100.2 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.001446/0.001447, 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.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.55/2.55, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8518/0.8522, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001817/0.8541, allocations: 1.19 MB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.8554, allocations: 0.6745 MB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.8555, allocations: 4 kB / 0.9827 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.8555, allocations: 7.922 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.8556, allocations: 7.984 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.8561, allocations: 95.64 kB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.8563, allocations: 47.92 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.8564, allocations: 7.984 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.8565, allocations: 31.91 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.8566, allocations: 43.83 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.8566, allocations: 0 / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.8568, allocations: 67.92 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.8568, allocations: 15.92 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.8568, allocations: 33.7 kB / 0.983 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.857, allocations: 102 kB / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.857, allocations: 0 / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8571, allocations: 0 / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8571, allocations: 0 / 0.9831 GB, free: 3.906 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.0007123/0.8578, allocations: 416.8 kB / 0.9835 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.8578, allocations: 8.031 kB / 0.9835 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.8579, allocations: 38.5 kB / 0.9836 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.8579, allocations: 7.906 kB / 0.9836 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.8581, allocations: 167 kB / 0.9837 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.8581, allocations: 8 kB / 0.9838 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.8582, allocations: 7.984 kB / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.8584, allocations: 73.61 kB / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8584, allocations: 0 / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8584, allocations: 4 kB / 0.9838 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.8584, allocations: 4 kB / 0.9838 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.8586, allocations: 43.91 kB / 0.9839 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.8592, allocations: 320.7 kB / 0.9842 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.8594, allocations: 54.56 kB / 0.9842 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.8594, allocations: 0 / 0.9842 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.8596, allocations: 83.44 kB / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.8596, allocations: 0 / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.86, allocations: 145.5 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.8601, allocations: 59.39 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.8602, allocations: 129.7 kB / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.8603, allocations: 29.7 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.8603, allocations: 92.31 kB / 0.9848 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.8604, allocations: 15.88 kB / 0.9848 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.8604, allocations: 7.938 kB / 0.9848 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8605, allocations: 318.8 kB / 0.9851 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.8606, allocations: 27.98 kB / 0.9851 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.28e-05/0.8607, allocations: 46.56 kB / 0.9851 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.547e-05/0.8608, allocations: 39.92 kB / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8608, allocations: 0 / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.8611, allocations: 121.5 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8611, allocations: 8 kB / 0.9853 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8611, allocations: 0 / 0.9853 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8611, allocations: 0 / 0.9853 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.8612, allocations: 19.98 kB / 0.9853 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8613, allocations: 0 / 0.9853 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.8613, allocations: 15.91 kB / 0.9853 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.8614, allocations: 4 kB / 0.9853 GB, free: 1.395 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 0.0001302/0.8615, allocations: 124.1 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.8615, allocations: 7.953 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.8616, allocations: 12.38 kB / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8616, allocations: 0 / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8616, allocations: 0 / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8616, allocations: 0 / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.8621, allocations: 390.4 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8621, allocations: 4 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.8621, allocations: 11.92 kB / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.8621, allocations: 0 / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.8621, allocations: 3.938 kB / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8622, allocations: 480 / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8622, allocations: 4 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.8624, allocations: 219.3 kB / 0.9861 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.8625, allocations: 85.11 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.8625, allocations: 4 kB / 0.9862 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.8626, allocations: 4 kB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.8627, allocations: 11.98 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.8627, allocations: 0 / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.8628, allocations: 91.27 kB / 0.9863 GB, free: 348 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8628, allocations: 0 / 0.9863 GB, free: 348 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003199/0.8631, allocations: 39.98 kB / 0.9863 GB, free: 308 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0009134/0.864, allocations: 0.8266 MB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.8643, allocations: 75.95 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8643, allocations: 0 / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.8644, allocations: 35.98 kB / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.8646, allocations: 8 kB / 0.9872 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.8655, allocations: 0.7205 MB / 0.9879 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.8659, allocations: 0.6926 MB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.8659, allocations: 8.172 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.866, allocations: 19.44 kB / 0.9886 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.866, allocations: 0 / 0.9886 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.8797, allocations: 2.312 MB / 0.9909 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.88, allocations: 234.2 kB / 0.9911 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.827, allocations: 3.938 kB / 0.9911 GB, free: 11.45 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat