Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001549/0.001549, allocations: 99.55 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.001746/0.001746, 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.52/1.52, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.642/2.642, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001728/1.002, allocations: 1.214 MB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001259/1.004, allocations: 0.7056 MB / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/1.004, allocations: 0 / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/1.004, allocations: 3.938 kB / 0.9827 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/1.004, allocations: 15.95 kB / 0.9828 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/1.004, allocations: 111.6 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/1.004, allocations: 59.91 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/1.004, allocations: 7.984 kB / 0.9829 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/1.005, allocations: 43.89 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/1.005, allocations: 47.81 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/1.005, allocations: 4 kB / 0.983 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/1.005, allocations: 71.81 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/1.005, allocations: 27.95 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/1.005, allocations: 41.64 kB / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/1.005, allocations: 110 kB / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/1.005, allocations: 0 / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.205e-06/1.005, allocations: 0 / 0.9833 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/1.005, allocations: 0 / 0.9833 GB, free: 3.797 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.0006929/1.006, allocations: 451.9 kB / 0.9837 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.006, allocations: 12.03 kB / 0.9837 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/1.006, allocations: 34.56 kB / 0.9837 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/1.006, allocations: 7.906 kB / 0.9837 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.006, allocations: 167 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/1.006, allocations: 7.984 kB / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/1.006, allocations: 8 kB / 0.9839 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/1.006, allocations: 97.52 kB / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/1.007, allocations: 0 / 0.984 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.007, allocations: 4 kB / 0.984 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.007, allocations: 4 kB / 0.984 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/1.007, allocations: 47.97 kB / 0.9841 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/1.008, allocations: 356.5 kB / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/1.008, allocations: 66.5 kB / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/1.008, allocations: 4 kB / 0.9845 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/1.008, allocations: 103.5 kB / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.956e-06/1.008, allocations: 3.984 kB / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005747/1.009, allocations: 201.5 kB / 0.9848 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.009, allocations: 59.41 kB / 0.9848 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/1.009, allocations: 121.8 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.009, allocations: 29.7 kB / 0.985 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/1.009, allocations: 88.14 kB / 0.985 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/1.009, allocations: 19.75 kB / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/1.009, allocations: 0 / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.009, allocations: 322.8 kB / 0.9854 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/1.009, allocations: 31.98 kB / 0.9854 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/1.009, allocations: 75.27 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/1.009, allocations: 43.92 kB / 0.9855 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.009, allocations: 0 / 0.9855 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002597/1.01, allocations: 141.4 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.01, allocations: 4 kB / 0.9857 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.01, allocations: 0 / 0.9857 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.01, allocations: 8.094 kB / 0.9857 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/1.01, allocations: 19.92 kB / 0.9857 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/1.01, allocations: 0 / 0.9857 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/1.01, allocations: 11.91 kB / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.01, allocations: 4 kB / 0.9857 GB, free: 1.043 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 9.72e-05/1.01, allocations: 123.7 kB / 0.9858 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/1.01, allocations: 15.84 kB / 0.9858 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/1.01, allocations: 12.38 kB / 0.9858 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.01, allocations: 4 kB / 0.9858 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.01, allocations: 0 / 0.9858 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.01, allocations: 0 / 0.9858 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/1.011, allocations: 434.4 kB / 0.9863 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.011, allocations: 4 kB / 0.9863 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/1.011, allocations: 8 kB / 0.9863 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.011, allocations: 0 / 0.9863 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/1.011, allocations: 7.922 kB / 0.9863 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.011, allocations: 3.938 kB / 0.9863 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/1.011, allocations: 0 / 0.9863 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/1.011, allocations: 259.3 kB / 0.9865 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/1.011, allocations: 81.02 kB / 0.9866 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/1.011, allocations: 8.062 kB / 0.9866 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.011, allocations: 8.047 kB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.012, allocations: 15.86 kB / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/1.012, allocations: 0 / 0.9866 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.044e-05/1.012, allocations: 95.27 kB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.012, allocations: 4 kB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003161/1.012, allocations: 43.98 kB / 0.9868 GB, free: 15.84 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.000915/1.013, allocations: 0.8479 MB / 0.9876 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003487/1.013, allocations: 96 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.013, allocations: 4.062 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/1.013, allocations: 51.95 kB / 0.9877 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.014, allocations: 11.94 kB / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009995/1.015, allocations: 1.055 MB / 0.9888 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/1.015, allocations: 0.6887 MB / 0.9895 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.155e-05/1.015, allocations: 7.984 kB / 0.9895 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/1.015, allocations: 19.44 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/1.015, allocations: 4 kB / 0.9895 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/1.031, allocations: 2.651 MB / 0.9921 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.032, allocations: 238.6 kB / 0.9923 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.771, allocations: 0 / 0.9923 GB, free: 10.23 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat