Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001132/0.001132, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001458/0.001458, allocations: 172.7 kB / 15.95 MB, free: 208 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.441/1.441, allocations: 223.2 MB / 240 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.651/2.651, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.000463, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8542, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001734/0.856, allocations: 1.214 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.8572, allocations: 0.7134 MB / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.8573, allocations: 0 / 0.983 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.8573, allocations: 3.938 kB / 0.983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.8574, allocations: 3.938 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.8579, allocations: 115.7 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.8581, allocations: 87.7 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.8581, allocations: 11.98 kB / 0.9832 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.8582, allocations: 39.89 kB / 0.9833 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.8584, allocations: 47.81 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.8584, allocations: 8 kB / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.8586, allocations: 79.92 kB / 0.9834 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.8586, allocations: 23.89 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.8586, allocations: 41.64 kB / 0.9835 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.8588, allocations: 114 kB / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8588, allocations: 0 / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8589, allocations: 0 / 0.9836 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8589, allocations: 0 / 0.9836 GB, free: 3.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006776/0.8596, allocations: 462.2 kB / 0.984 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.8596, allocations: 8.031 kB / 0.984 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.8597, allocations: 30.56 kB / 0.984 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.8597, allocations: 15.91 kB / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.8598, allocations: 171 kB / 0.9842 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.8599, allocations: 4 kB / 0.9842 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8599, allocations: 4 kB / 0.9842 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.8601, allocations: 93.52 kB / 0.9843 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8602, allocations: 0 / 0.9843 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.8602, allocations: 4 kB / 0.9843 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.8602, allocations: 4 kB / 0.9843 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.8604, allocations: 51.97 kB / 0.9844 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.8611, allocations: 344.6 kB / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.8613, allocations: 70.48 kB / 0.9848 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.8614, allocations: 40.84 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.8615, allocations: 4 kB / 0.9848 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.8617, allocations: 107.3 kB / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.8617, allocations: 0 / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.8623, allocations: 193.5 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.8623, allocations: 55.41 kB / 0.9852 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.8624, allocations: 121.8 kB / 0.9853 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.8624, allocations: 29.7 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.8625, allocations: 88.3 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.8626, allocations: 27.72 kB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.8626, allocations: 4 kB / 0.9854 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8627, allocations: 318.8 kB / 0.9857 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.8628, allocations: 35.98 kB / 0.9858 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.8629, allocations: 64.27 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.863, allocations: 39.94 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.863, allocations: 0 / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/0.8633, allocations: 141.4 kB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8633, allocations: 4 kB / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.8634, allocations: 0 / 0.986 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8634, allocations: 4 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.8635, allocations: 24.02 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8635, allocations: 0 / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.8636, allocations: 19.78 kB / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.8636, allocations: 11.98 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001076/0.8637, allocations: 115.1 kB / 0.9862 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.8638, allocations: 11.86 kB / 0.9862 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.8638, allocations: 12.38 kB / 0.9862 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.8638, allocations: 7.938 kB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8638, allocations: 0 / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8638, allocations: 0 / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.8644, allocations: 434.4 kB / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8644, allocations: 64 / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.8645, allocations: 12 kB / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.8645, allocations: 0 / 0.9866 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.8645, allocations: 7.984 kB / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8645, allocations: 0 / 0.9866 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8645, allocations: 3.938 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.8649, allocations: 251.3 kB / 0.9869 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.865, allocations: 81.02 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.865, allocations: 8 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.8651, allocations: 7.984 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.8652, allocations: 4 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.8652, allocations: 3.984 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.8653, allocations: 98.14 kB / 0.9871 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8653, allocations: 0 / 0.9871 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003284/0.8656, allocations: 44 kB / 0.9871 GB, free: 15.79 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009628/0.8666, allocations: 0.8461 MB / 0.9879 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.8669, allocations: 95.88 kB / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8669, allocations: 0 / 0.988 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.8671, allocations: 60.14 kB / 0.9881 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.8673, allocations: 7.938 kB / 0.9881 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.8686, allocations: 0.6663 MB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.8689, allocations: 0.6926 MB / 0.9894 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.841e-05/0.8689, allocations: 7.984 kB / 0.9894 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.869, allocations: 20.81 kB / 0.9894 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.869, allocations: 0 / 0.9894 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.8842, allocations: 2.647 MB / 0.992 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004846/0.8848, allocations: 247.8 kB / 0.9923 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.766, allocations: 1.266 kB / 0.9923 GB, free: 10.55 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat