Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.001147/0.001147, allocations: 99.55 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.001605/0.001605, 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.697/2.697, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7578, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002242/0.7601, allocations: 1.197 MB / 0.982 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.7615, allocations: 0.6745 MB / 0.9827 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.7616, allocations: 4 kB / 0.9827 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.7616, allocations: 3.938 kB / 0.9827 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.7617, allocations: 3.984 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.7622, allocations: 107.6 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.7623, allocations: 39.95 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.7624, allocations: 15.97 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.7625, allocations: 27.91 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.7626, allocations: 35.84 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.7626, allocations: 4 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.7628, allocations: 67.92 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.7628, allocations: 11.92 kB / 0.983 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.7629, allocations: 37.7 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.7631, allocations: 98 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7631, allocations: 4 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.055e-06/0.7631, allocations: 0 / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7631, allocations: 0 / 0.9831 GB, free: 3.934 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.000698/0.7638, allocations: 414.3 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.7639, allocations: 12.03 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.7639, allocations: 34.5 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.764, allocations: 7.906 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.7641, allocations: 171 kB / 0.9837 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.7642, allocations: 12 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.7642, allocations: 4 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.7644, allocations: 69.61 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7644, allocations: 0 / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.7644, allocations: 4 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.7645, allocations: 0 / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.7646, allocations: 55.89 kB / 0.9839 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.7654, allocations: 316.7 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.7655, allocations: 58.55 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.7656, allocations: 3.938 kB / 0.9842 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.7658, allocations: 79.44 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.7658, allocations: 0 / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004464/0.7663, allocations: 149.5 kB / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.7663, allocations: 55.41 kB / 0.9845 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.7665, allocations: 129.7 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.7665, allocations: 33.7 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.7666, allocations: 88.39 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.7666, allocations: 15.81 kB / 0.9848 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.7666, allocations: 4 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7668, allocations: 322.8 kB / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.7669, allocations: 23.98 kB / 0.9851 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.957e-05/0.767, allocations: 54.48 kB / 0.9852 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.7671, allocations: 39.98 kB / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7671, allocations: 0 / 0.9852 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.7674, allocations: 113.5 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7674, allocations: 4 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7674, allocations: 7.984 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.7675, allocations: 4.062 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7676, allocations: 12 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7676, allocations: 4 kB / 0.9853 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.7677, allocations: 15.83 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.7677, allocations: 4 kB / 0.9854 GB, free: 1.418 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.0001409/0.7678, allocations: 117.8 kB / 0.9855 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.7679, allocations: 7.953 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.7679, allocations: 16.36 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.7679, allocations: 0 / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7679, allocations: 0 / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.768, allocations: 4 kB / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.7685, allocations: 386.8 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7685, allocations: 0 / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.7686, allocations: 11.94 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.7686, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.7686, allocations: 7.938 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7686, allocations: 3.984 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7686, allocations: 0 / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.7689, allocations: 219.4 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.769, allocations: 77.11 kB / 0.9862 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.769, allocations: 8 kB / 0.9862 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.7691, allocations: 7.984 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.7692, allocations: 4 kB / 0.9862 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.7692, allocations: 7.984 kB / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.7693, allocations: 95.2 kB / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7693, allocations: 0 / 0.9863 GB, free: 368 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003352/0.7696, allocations: 36 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 (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.0008374/0.7705, allocations: 0.8219 MB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.7707, allocations: 75.91 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7707, allocations: 0 / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.7708, allocations: 39.97 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.771, allocations: 8.125 kB / 0.9872 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007937/0.7718, allocations: 0.7205 MB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7721, allocations: 0.6926 MB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.7722, allocations: 192 / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.7722, allocations: 23.42 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.7722, allocations: 4 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.7851, allocations: 2.318 MB / 0.9909 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.7853, allocations: 256 kB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.662, allocations: 4 kB / 0.9912 GB, free: 11.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat does not exist to compare? outputFormat=mat