Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.0009513/0.0009514, 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.001001/0.001001, 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.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.573/2.573, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8558, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001639/0.8575, allocations: 1.198 MB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.8589, allocations: 0.6745 MB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.859, allocations: 7.938 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.859, allocations: 3.984 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.8591, allocations: 7.984 kB / 0.9827 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.8597, allocations: 95.64 kB / 0.9828 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.8598, allocations: 43.94 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.86, allocations: 19.97 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.8601, allocations: 27.91 kB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.626e-05/0.8602, allocations: 39.83 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.8602, allocations: 4 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.8604, allocations: 63.94 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.8604, allocations: 15.91 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.8605, allocations: 37.7 kB / 0.983 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.8607, allocations: 94.02 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.8607, allocations: 0 / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8607, allocations: 4 kB / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8607, 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.0006638/0.8614, allocations: 412.8 kB / 0.9835 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8614, allocations: 11.97 kB / 0.9835 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.8615, allocations: 34.56 kB / 0.9836 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.8615, allocations: 7.906 kB / 0.9836 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.8616, allocations: 175 kB / 0.9837 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.8617, allocations: 4 kB / 0.9838 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8617, allocations: 12 kB / 0.9838 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.8619, allocations: 69.61 kB / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.8619, allocations: 0 / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8619, allocations: 0 / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.8619, allocations: 0 / 0.9838 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.8621, allocations: 47.91 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.8627, allocations: 320.7 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.8628, allocations: 46.56 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.8628, allocations: 4 kB / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.863, allocations: 87.44 kB / 0.9843 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.863, allocations: 0 / 0.9843 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003976/0.8634, allocations: 153.6 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.8635, allocations: 59.34 kB / 0.9845 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.8636, allocations: 125.7 kB / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.8636, allocations: 25.7 kB / 0.9847 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.8637, allocations: 92.31 kB / 0.9847 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.8637, allocations: 15.81 kB / 0.9848 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.8637, allocations: 0 / 0.9848 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8639, allocations: 322.8 kB / 0.9851 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.864, allocations: 27.98 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.8641, allocations: 59.34 kB / 0.9852 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.8641, allocations: 32 kB / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8642, allocations: 0 / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002339/0.8644, allocations: 129.4 kB / 0.9853 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8644, allocations: 4 kB / 0.9853 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8644, allocations: 48 / 0.9853 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8645, allocations: 7.984 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.8646, allocations: 19.98 kB / 0.9853 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8646, allocations: 4 kB / 0.9853 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.8646, allocations: 15.84 kB / 0.9854 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.8647, allocations: 4 kB / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 8.87e-05/0.8648, allocations: 113.8 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.8648, allocations: 12 kB / 0.9855 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.8648, allocations: 12.38 kB / 0.9855 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8648, allocations: 4 kB / 0.9855 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8648, allocations: 4 kB / 0.9855 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8649, allocations: 0 / 0.9855 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.8653, allocations: 386.6 kB / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8653, allocations: 0 / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.8653, allocations: 7.938 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8654, allocations: 4 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.8654, allocations: 11.98 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.8654, allocations: 0 / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8654, allocations: 0 / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.8657, allocations: 223.4 kB / 0.9861 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.8657, allocations: 85.09 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.8657, allocations: 4 kB / 0.9862 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.8658, allocations: 8 kB / 0.9862 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.8659, allocations: 3.984 kB / 0.9862 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.8659, allocations: 4 kB / 0.9862 GB, free: 420 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.8659, allocations: 91.27 kB / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8659, allocations: 0 / 0.9863 GB, free: 328 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003025/0.8662, allocations: 39.94 kB / 0.9863 GB, free: 288 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,occ.y,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.0007824/0.867, allocations: 0.8157 MB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.8673, allocations: 75.95 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8673, allocations: 0 / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.8674, allocations: 39.92 kB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.8676, allocations: 4.125 kB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/0.8684, allocations: 0.8779 MB / 0.9881 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.8686, allocations: 0.694 MB / 0.9888 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.8687, allocations: 8.25 kB / 0.9888 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.8687, allocations: 23.44 kB / 0.9888 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8688, allocations: 0 / 0.9888 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.8848, allocations: 2.305 MB / 0.9911 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.8851, allocations: 248.1 kB / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.624, allocations: 0 / 0.9913 GB, free: 11.27 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat