Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.0008952/0.0008952, allocations: 91.69 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.0009445/0.0009446, 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8907, allocations: 146.8 MB / 0.9811 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001837/0.8927, allocations: 1.202 MB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.8939, allocations: 0.6745 MB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.8939, allocations: 3.938 kB / 0.983 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.894, allocations: 3.984 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.894, allocations: 7.938 kB / 0.983 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.8945, allocations: 99.77 kB / 0.9831 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.8946, allocations: 59.78 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.8947, allocations: 23.97 kB / 0.9832 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.8948, allocations: 27.91 kB / 0.9832 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.8949, allocations: 39.83 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8949, allocations: 4 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.8951, allocations: 75.92 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.8951, allocations: 19.91 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.8952, allocations: 37.69 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.8953, allocations: 98.02 kB / 0.9834 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.8953, allocations: 0 / 0.9834 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8953, allocations: 8 kB / 0.9835 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8954, allocations: 0 / 0.9835 GB, free: 3.824 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.0005793/0.8959, allocations: 404.8 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.896, allocations: 12.02 kB / 0.9839 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.896, allocations: 34.56 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.8961, allocations: 3.906 kB / 0.9839 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.8962, allocations: 178.8 kB / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.8962, allocations: 8 kB / 0.9841 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.8963, allocations: 15.97 kB / 0.9841 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.8964, allocations: 69.61 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8965, allocations: 0 / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.8965, allocations: 4 kB / 0.9842 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.8965, allocations: 7.938 kB / 0.9842 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.8966, allocations: 47.91 kB / 0.9842 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.8972, allocations: 316.7 kB / 0.9845 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.8974, allocations: 46.56 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.8975, allocations: 36.97 kB / 0.9846 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.8975, allocations: 4 kB / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.8977, allocations: 83.38 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.8977, allocations: 0 / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000433/0.8981, allocations: 149.5 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.8982, allocations: 55.39 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.8983, allocations: 117.8 kB / 0.985 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.8984, allocations: 29.7 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.8985, allocations: 92.31 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.8985, allocations: 15.81 kB / 0.9851 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.8985, allocations: 0 / 0.9851 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.8987, allocations: 326.8 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.8988, allocations: 23.98 kB / 0.9854 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.8989, allocations: 55.42 kB / 0.9855 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.899, allocations: 39.92 kB / 0.9855 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.899, allocations: 3.953 kB / 0.9855 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002534/0.8992, allocations: 121.5 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8993, allocations: 8.062 kB / 0.9857 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8993, allocations: 3.984 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8993, allocations: 4 kB / 0.9857 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.8994, allocations: 11.94 kB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.8994, allocations: 320 / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.8995, allocations: 19.83 kB / 0.9857 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.8995, allocations: 4.062 kB / 0.9857 GB, free: 1.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.0001135/0.8996, allocations: 124.7 kB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.8997, allocations: 11.95 kB / 0.9858 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.8997, allocations: 8.359 kB / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8997, allocations: 0 / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.8997, allocations: 0 / 0.9858 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.8998, allocations: 4 kB / 0.9858 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.9002, allocations: 398.3 kB / 0.9862 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.9002, allocations: 0 / 0.9862 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.9003, allocations: 4 kB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9003, allocations: 0 / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.9003, allocations: 7.984 kB / 0.9862 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.9003, allocations: 0 / 0.9862 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.9003, allocations: 0 / 0.9862 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.9007, allocations: 227.3 kB / 0.9865 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.9007, allocations: 81.05 kB / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.9007, allocations: 3.984 kB / 0.9865 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.9008, allocations: 4 kB / 0.9865 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.9009, allocations: 12.02 kB / 0.9865 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.9009, allocations: 8 kB / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.901, allocations: 91.27 kB / 0.9866 GB, free: 208 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.901, allocations: 4 kB / 0.9866 GB, free: 204 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00032/0.9013, allocations: 39.94 kB / 0.9867 GB, free: 164 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,occ.y,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.000885/0.9022, allocations: 0.8089 MB / 0.9875 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.9024, allocations: 79.89 kB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9024, allocations: 0 / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.9025, allocations: 40.11 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.9028, allocations: 0 / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.9039, allocations: 0.5991 MB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.9041, allocations: 0.6965 MB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.9042, allocations: 12.11 kB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.9042, allocations: 19.44 kB / 0.9889 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.9042, allocations: 0 / 0.9889 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.9173, allocations: 2.346 MB / 0.9912 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.9175, allocations: 244.3 kB / 0.9914 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.764, allocations: 0 / 0.9914 GB, free: 11.36 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat