Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.001626/0.001626, allocations: 100.3 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.002124/0.002124, 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.565/1.565, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.689/2.689, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8755, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001769/0.8774, allocations: 1.19 MB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.8786, allocations: 0.6784 MB / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.8786, allocations: 0 / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.8787, allocations: 0 / 0.9827 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.265e-05/0.8788, allocations: 19.91 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.8793, allocations: 91.69 kB / 0.9828 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.8794, allocations: 51.88 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.8795, allocations: 7.984 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.8796, allocations: 35.91 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.8797, allocations: 31.89 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.8797, allocations: 0 / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.8799, allocations: 67.88 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.88, allocations: 11.98 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.88, allocations: 41.62 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.8802, allocations: 98.02 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8802, allocations: 4 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8802, allocations: 3.938 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8802, 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.000694/0.8809, allocations: 412.8 kB / 0.9835 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.881, allocations: 8.031 kB / 0.9835 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.8811, allocations: 38.55 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8811, allocations: 7.906 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.8813, allocations: 167 kB / 0.9837 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.8813, allocations: 8 kB / 0.9838 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.8813, allocations: 4 kB / 0.9838 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.8815, allocations: 73.55 kB / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.8816, allocations: 0 / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.8816, allocations: 7.984 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.8816, allocations: 4 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.8817, allocations: 43.98 kB / 0.9839 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.8824, allocations: 324.7 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.8825, allocations: 54.56 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.8826, allocations: 3.938 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.8828, allocations: 75.5 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.8828, allocations: 0 / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004143/0.8832, allocations: 153.5 kB / 0.9845 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.8833, allocations: 55.47 kB / 0.9845 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.8834, allocations: 133.7 kB / 0.9846 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.8834, allocations: 29.7 kB / 0.9847 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.8835, allocations: 92.27 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.8835, allocations: 19.8 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.8835, allocations: 4 kB / 0.9848 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8836, allocations: 314.8 kB / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.8837, allocations: 27.97 kB / 0.9851 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.8838, allocations: 50.56 kB / 0.9852 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/0.8839, allocations: 35.98 kB / 0.9852 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8839, allocations: 0 / 0.9852 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002338/0.8842, allocations: 121.5 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8842, allocations: 9.562 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8842, allocations: 4.062 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.8842, allocations: 0 / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.8843, allocations: 15.98 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8843, allocations: 3.938 kB / 0.9853 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.8844, allocations: 11.84 kB / 0.9853 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.8844, allocations: 4 kB / 0.9854 GB, free: 1.422 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 9.272e-05/0.8845, allocations: 113.8 kB / 0.9855 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.8846, allocations: 15.94 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.8846, allocations: 8.375 kB / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8846, allocations: 7.938 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8846, allocations: 0 / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8846, allocations: 0 / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.8851, allocations: 390.3 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8851, allocations: 4 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.8851, allocations: 8 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8851, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.8852, allocations: 7.922 kB / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8852, allocations: 0 / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8852, allocations: 0 / 0.9859 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.8854, allocations: 223.4 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.8855, allocations: 85.09 kB / 0.9862 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.8855, allocations: 3.938 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.8856, allocations: 4 kB / 0.9862 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.8857, allocations: 11.97 kB / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.8857, allocations: 0 / 0.9862 GB, free: 464 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.776e-05/0.8858, allocations: 91.27 kB / 0.9863 GB, free: 372 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8858, allocations: 0 / 0.9863 GB, free: 372 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003071/0.8861, allocations: 40 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.0009635/0.887, allocations: 0.8163 MB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.8873, allocations: 75.89 kB / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8873, allocations: 0 / 0.9872 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.8874, allocations: 44.05 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.000211/0.8876, allocations: 13.48 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.0007957/0.8885, allocations: 0.7166 MB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.8887, allocations: 0.6887 MB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.8888, allocations: 4.188 kB / 0.9886 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.8888, allocations: 23.42 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.8888, allocations: 4 kB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.9015, allocations: 2.307 MB / 0.9909 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.9017, allocations: 237.2 kB / 0.9911 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.681, allocations: 0 / 0.9911 GB, free: 11.47 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat does not exist to compare? outputFormat=mat