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.001667/0.001667, allocations: 84.38 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.001783/0.001783, 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.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.769/2.769, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8424, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002091/0.8445, allocations: 1.202 MB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.846, allocations: 0.6744 MB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.8461, allocations: 0 / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.8461, allocations: 3.984 kB / 0.983 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.8462, allocations: 15.86 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.8468, allocations: 99.77 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.847, allocations: 59.83 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.8471, allocations: 27.91 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.8472, allocations: 27.91 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.8473, allocations: 31.89 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.8473, allocations: 4 kB / 0.9832 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.8476, allocations: 83.86 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.8477, allocations: 7.984 kB / 0.9833 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.8477, allocations: 45.62 kB / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.8479, allocations: 98.02 kB / 0.9834 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.848, allocations: 3.984 kB / 0.9835 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.848, allocations: 0 / 0.9835 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.848, allocations: 0 / 0.9835 GB, free: 3.867 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.0007271/0.8487, allocations: 412.8 kB / 0.9838 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8488, allocations: 8.031 kB / 0.9839 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.8488, allocations: 34.55 kB / 0.9839 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.8489, allocations: 7.906 kB / 0.9839 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.8491, allocations: 170.9 kB / 0.9841 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.8491, allocations: 8 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.8491, allocations: 7.938 kB / 0.9841 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.8494, allocations: 77.59 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8494, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.8494, allocations: 7.984 kB / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8494, allocations: 0 / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.8495, allocations: 43.98 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.8503, allocations: 320.7 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.8505, allocations: 54.5 kB / 0.9846 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.8506, allocations: 40.97 kB / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.8506, allocations: 0 / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.8509, allocations: 75.38 kB / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.8509, allocations: 0 / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004984/0.8514, allocations: 157.5 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.8515, allocations: 55.39 kB / 0.9849 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.8516, allocations: 121.8 kB / 0.985 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.8516, allocations: 29.7 kB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.8517, allocations: 92.31 kB / 0.9851 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.8517, allocations: 15.81 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.8517, allocations: 7.938 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.8519, allocations: 318.8 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.852, allocations: 27.98 kB / 0.9855 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.8521, allocations: 46.56 kB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.8522, allocations: 35.98 kB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8522, allocations: 7.953 kB / 0.9855 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002455/0.8525, allocations: 117.8 kB / 0.9857 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8525, allocations: 4 kB / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8525, allocations: 64 / 0.9857 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.8525, allocations: 8 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.8526, allocations: 19.92 kB / 0.9857 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8527, allocations: 4.062 kB / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.8527, allocations: 15.84 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.8528, allocations: 0 / 0.9857 GB, free: 1.316 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.0001147/0.8529, allocations: 124.6 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.8529, allocations: 3.953 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.8529, allocations: 16.38 kB / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.853, allocations: 0 / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.853, allocations: 0 / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.853, allocations: 0 / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.8535, allocations: 390.3 kB / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8535, allocations: 0 / 0.9862 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.8535, allocations: 11.98 kB / 0.9862 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8535, allocations: 3.938 kB / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.8536, allocations: 0 / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8536, allocations: 0 / 0.9862 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.8536, allocations: 4 kB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.8539, allocations: 223.3 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.8539, allocations: 81.11 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.854, allocations: 4 kB / 0.9865 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.854, allocations: 4 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.8541, allocations: 7.984 kB / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.8541, allocations: 0 / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.8542, allocations: 95.27 kB / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8542, allocations: 0 / 0.9866 GB, free: 272 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003728/0.8546, allocations: 39.98 kB / 0.9867 GB, free: 232 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.0009808/0.8555, allocations: 0.8227 MB / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.8558, allocations: 79.94 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8558, allocations: 0 / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.8559, allocations: 39.92 kB / 0.9876 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.8562, allocations: 8.125 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.001124/0.8573, allocations: 0.5991 MB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8577, allocations: 0.6848 MB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.889e-05/0.8577, allocations: 12.17 kB / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.8578, allocations: 19.44 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.8578, allocations: 0 / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.8729, allocations: 2.336 MB / 0.9912 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.8732, allocations: 265.6 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.823, allocations: 6.469 kB / 0.9914 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