Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.0007652/0.000765, allocations: 86.17 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.0007955/0.0007955, 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.49/1.49, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.641/2.641, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 15.92 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.819, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002106/0.8211, allocations: 1.194 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.8229, allocations: 0.6783 MB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.8231, allocations: 4 kB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.8232, allocations: 7.922 kB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.8233, allocations: 7.922 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.8242, allocations: 99.77 kB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.8245, allocations: 71.77 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.8246, allocations: 11.98 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.8248, allocations: 27.91 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.8249, allocations: 35.89 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.8249, allocations: 4 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.8251, allocations: 79.86 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.8252, allocations: 15.92 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.8252, allocations: 33.7 kB / 0.9833 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.8255, allocations: 106.1 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.8255, allocations: 0 / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8255, allocations: 0 / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.8255, allocations: 4 kB / 0.9835 GB, free: 3.879 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.0009854/0.8265, allocations: 408.7 kB / 0.9838 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.8266, allocations: 8.031 kB / 0.9839 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.246e-05/0.8267, allocations: 38.55 kB / 0.9839 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.8268, allocations: 7.906 kB / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.827, allocations: 174.9 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.827, allocations: 0 / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.8271, allocations: 8 kB / 0.9841 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.8273, allocations: 73.61 kB / 0.9841 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.8273, allocations: 0 / 0.9841 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.8274, allocations: 7.984 kB / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8274, allocations: 0 / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.8275, allocations: 39.97 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.8283, allocations: 332.7 kB / 0.9845 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.8285, allocations: 46.56 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.8286, allocations: 40.91 kB / 0.9846 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.8287, allocations: 0 / 0.9846 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.8289, allocations: 83.38 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.8289, allocations: 0 / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004787/0.8294, allocations: 153.5 kB / 0.9848 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.8295, allocations: 59.39 kB / 0.9849 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.8297, allocations: 113.8 kB / 0.985 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.8297, allocations: 33.7 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.8298, allocations: 88.31 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.8298, allocations: 23.75 kB / 0.9851 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.8298, allocations: 0 / 0.9851 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.83, allocations: 318.8 kB / 0.9854 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.8301, allocations: 31.97 kB / 0.9855 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.681e-05/0.8302, allocations: 46.56 kB / 0.9855 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.8303, allocations: 35.98 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8303, allocations: 7.891 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.8306, allocations: 117.5 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.8306, allocations: 4 kB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.8306, allocations: 8.062 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.8307, allocations: 0 / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.8308, allocations: 11.98 kB / 0.9857 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.8308, allocations: 4 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.8309, allocations: 11.84 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.8309, allocations: 4 kB / 0.9857 GB, free: 1.34 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.0001313/0.831, allocations: 124.6 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.8311, allocations: 11.95 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.8311, allocations: 8.312 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8311, allocations: 0 / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.8311, allocations: 4 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8312, allocations: 0 / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.8317, allocations: 386.4 kB / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8317, allocations: 4 kB / 0.9862 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.8317, allocations: 7.984 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8317, allocations: 0 / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.8318, allocations: 4 kB / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8318, allocations: 0 / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8318, allocations: 3.938 kB / 0.9862 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.8321, allocations: 223.8 kB / 0.9864 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.8322, allocations: 81.09 kB / 0.9865 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.8322, allocations: 7.938 kB / 0.9865 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.8323, allocations: 4 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.8324, allocations: 7.969 kB / 0.9865 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.8324, allocations: 11.94 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.8325, allocations: 95.86 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8325, allocations: 0 / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003622/0.8328, allocations: 43.98 kB / 0.9867 GB, free: 236 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.001216/0.8341, allocations: 0.8087 MB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.8343, allocations: 79.89 kB / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8344, allocations: 0 / 0.9875 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.8345, allocations: 44.09 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.0003525/0.8348, allocations: 8.641 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.8363, allocations: 0.6023 MB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.8368, allocations: 0.6848 MB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.745e-05/0.8369, allocations: 8.172 kB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.837, allocations: 19.44 kB / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.837, allocations: 0 / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.851, allocations: 2.334 MB / 0.9912 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.8513, allocations: 260.1 kB / 0.9914 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.736, allocations: 0 / 0.9914 GB, free: 11.4 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat does not exist to compare? outputFormat=mat