Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.0009542/0.0009542, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001371/0.001371, allocations: 168.7 kB / 15.95 MB, free: 204 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.705/2.705, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 20 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.809, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001688/0.8107, allocations: 1.194 MB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.8119, allocations: 0.6783 MB / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.812, allocations: 0 / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.812, allocations: 0 / 0.983 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.8121, allocations: 11.88 kB / 0.983 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.8126, allocations: 107.8 kB / 0.9831 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.8128, allocations: 59.84 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.8129, allocations: 19.91 kB / 0.9832 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.813, allocations: 27.91 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.8131, allocations: 31.91 kB / 0.9832 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.8131, allocations: 7.984 kB / 0.9832 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.8133, allocations: 83.86 kB / 0.9833 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.8134, allocations: 15.97 kB / 0.9833 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.8134, allocations: 37.64 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.8136, allocations: 98.08 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8136, allocations: 0 / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8136, allocations: 0 / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8136, allocations: 0 / 0.9834 GB, free: 3.906 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.0006141/0.8142, allocations: 412.7 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8143, allocations: 8.031 kB / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.8143, allocations: 34.56 kB / 0.9839 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.8144, allocations: 11.91 kB / 0.9839 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.8145, allocations: 175 kB / 0.9841 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.8145, allocations: 4 kB / 0.9841 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.8146, allocations: 7.938 kB / 0.9841 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.8148, allocations: 77.55 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8148, allocations: 0 / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8148, allocations: 0 / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8148, allocations: 4 kB / 0.9841 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.8149, allocations: 43.97 kB / 0.9842 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.8155, allocations: 316.7 kB / 0.9845 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.8157, allocations: 54.5 kB / 0.9845 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.8158, allocations: 40.95 kB / 0.9846 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.8158, allocations: 0 / 0.9846 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.816, allocations: 87.44 kB / 0.9847 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.816, allocations: 0 / 0.9847 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004015/0.8164, allocations: 149.5 kB / 0.9848 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.8165, allocations: 55.41 kB / 0.9849 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.8166, allocations: 125.8 kB / 0.985 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.8166, allocations: 25.7 kB / 0.985 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.8167, allocations: 88.33 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.8167, allocations: 19.75 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.8167, allocations: 0 / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.8168, allocations: 318.8 kB / 0.9854 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.8169, allocations: 31.98 kB / 0.9854 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.817, allocations: 54.55 kB / 0.9855 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.236e-05/0.8171, allocations: 31.98 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8171, allocations: 3.953 kB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002486/0.8174, allocations: 121.5 kB / 0.9856 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8174, allocations: 5.875 kB / 0.9857 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8174, allocations: 0 / 0.9857 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8175, allocations: 4 kB / 0.9857 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.8176, allocations: 15.92 kB / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8176, allocations: 0 / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.8176, allocations: 23.83 kB / 0.9857 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.8177, allocations: 0 / 0.9857 GB, free: 1.359 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 8.794e-05/0.8178, allocations: 121.9 kB / 0.9858 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.8178, allocations: 3.953 kB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.8178, allocations: 12.38 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.8178, allocations: 0 / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8178, allocations: 3.984 kB / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8178, allocations: 0 / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.8183, allocations: 394.3 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8183, allocations: 0 / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.8184, allocations: 4 kB / 0.9862 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8184, allocations: 0 / 0.9862 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.8184, allocations: 4 kB / 0.9862 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.8184, allocations: 7.938 kB / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8184, allocations: 0 / 0.9862 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.8187, allocations: 223.3 kB / 0.9864 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.8187, allocations: 85.09 kB / 0.9865 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8187, allocations: 3.938 kB / 0.9865 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.8188, allocations: 7.984 kB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.8189, allocations: 8 kB / 0.9865 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.8189, allocations: 7.984 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.819, allocations: 99.86 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.819, allocations: 0 / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002961/0.8193, allocations: 36 kB / 0.9867 GB, free: 260 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.0008296/0.8201, allocations: 0.8156 MB / 0.9875 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.8204, allocations: 72.03 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8204, allocations: 4.062 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.8205, allocations: 39.91 kB / 0.9876 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.8207, allocations: 11.94 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.8218, allocations: 0.5967 MB / 0.9882 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.822, allocations: 0.6926 MB / 0.9888 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.981e-05/0.8221, allocations: 4.188 kB / 0.9889 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.8221, allocations: 23.42 kB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.8221, allocations: 0 / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.8363, allocations: 2.329 MB / 0.9911 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.8365, allocations: 249.3 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.765, allocations: 64 / 0.9914 GB, free: 11.43 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat