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.001127/0.001127, 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.00125/0.00125, 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.544/1.544, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.587/2.587, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8779, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001851/0.8798, allocations: 1.206 MB / 0.982 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.8812, allocations: 0.7057 MB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.8813, allocations: 0 / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.8814, allocations: 7.922 kB / 0.9827 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.8815, allocations: 7.969 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.882, allocations: 111.6 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.8822, allocations: 59.91 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.8823, allocations: 11.98 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.8824, allocations: 43.83 kB / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.8825, allocations: 39.89 kB / 0.983 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.8825, allocations: 4 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.8827, allocations: 79.8 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.8827, allocations: 23.95 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.8828, allocations: 37.64 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.883, allocations: 114 kB / 0.9832 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.883, allocations: 0 / 0.9832 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.335e-06/0.883, allocations: 0 / 0.9832 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.883, allocations: 0 / 0.9832 GB, free: 3.832 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.0007024/0.8837, allocations: 446.4 kB / 0.9837 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8838, allocations: 8.031 kB / 0.9837 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.8838, allocations: 38.55 kB / 0.9837 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.8839, allocations: 11.91 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.884, allocations: 175 kB / 0.9839 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.8841, allocations: 7.938 kB / 0.9839 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.8841, allocations: 7.984 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.8844, allocations: 85.59 kB / 0.984 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8844, allocations: 7.984 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.8844, allocations: 0 / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8844, allocations: 0 / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.8846, allocations: 59.89 kB / 0.9841 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.8854, allocations: 340.7 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.8856, allocations: 66.45 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.8856, allocations: 0 / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.8859, allocations: 115.5 kB / 0.9846 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.8859, allocations: 4 kB / 0.9846 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005403/0.8865, allocations: 185.5 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.8865, allocations: 51.41 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.8866, allocations: 132.3 kB / 0.9849 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.8867, allocations: 29.7 kB / 0.9849 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.8868, allocations: 92.14 kB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.8868, allocations: 19.73 kB / 0.985 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.8868, allocations: 4 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8869, allocations: 318.8 kB / 0.9854 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.887, allocations: 31.98 kB / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.8872, allocations: 68.22 kB / 0.9854 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.8873, allocations: 39.98 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8873, allocations: 0 / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002638/0.8876, allocations: 145.4 kB / 0.9856 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8876, allocations: 4 kB / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8876, allocations: 4 kB / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8876, allocations: 0 / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.8877, allocations: 15.98 kB / 0.9856 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.8877, allocations: 4 kB / 0.9857 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/0.8878, allocations: 16 kB / 0.9857 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.8879, allocations: 7.984 kB / 0.9857 GB, free: 1.09 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.0001006/0.888, allocations: 121.8 kB / 0.9858 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.888, allocations: 11.86 kB / 0.9858 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.888, allocations: 8.375 kB / 0.9858 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.888, allocations: 0 / 0.9858 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.888, allocations: 3.938 kB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8881, allocations: 64 / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.8886, allocations: 450.3 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8886, allocations: 0 / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.8887, allocations: 4 kB / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8887, allocations: 0 / 0.9862 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.8887, allocations: 3.984 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.8887, allocations: 4 kB / 0.9863 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8887, allocations: 7.938 kB / 0.9863 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.8891, allocations: 247.3 kB / 0.9865 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.8892, allocations: 89.02 kB / 0.9866 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.8892, allocations: 0 / 0.9866 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8893, allocations: 15.98 kB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.8894, allocations: 0 / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.8894, allocations: 7.984 kB / 0.9866 GB, free: 32 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.8895, allocations: 106.2 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8895, allocations: 0 / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003243/0.8898, allocations: 36 kB / 0.9867 GB, free: 15.89 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.001031/0.8909, allocations: 0.8409 MB / 0.9876 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.8912, allocations: 107.8 kB / 0.9877 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8912, allocations: 0 / 0.9877 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.8914, allocations: 51.91 kB / 0.9877 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.8916, allocations: 8.188 kB / 0.9877 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.8928, allocations: 1.055 MB / 0.9888 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.8932, allocations: 0.6965 MB / 0.9894 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.316e-05/0.8933, allocations: 11.92 kB / 0.9894 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.8933, allocations: 19.44 kB / 0.9895 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/0.8933, allocations: 0 / 0.9895 GB, free: 13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.9077, allocations: 2.625 MB / 0.992 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003309/0.9081, allocations: 239.2 kB / 0.9923 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.629, allocations: 0 / 0.9923 GB, free: 10.32 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