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.0009443/0.0009444, allocations: 91.84 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.001052/0.001052, 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.589/2.589, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9749/0.9752, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002078/0.9774, allocations: 1.214 MB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.9788, allocations: 0.7134 MB / 0.983 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.9789, allocations: 0 / 0.983 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.979, allocations: 3.984 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.979, allocations: 15.86 kB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.9797, allocations: 103.8 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.9799, allocations: 91.75 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.98, allocations: 11.97 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.9801, allocations: 39.91 kB / 0.9833 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.9803, allocations: 51.8 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.9803, allocations: 4 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.9805, allocations: 87.86 kB / 0.9834 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.9806, allocations: 19.97 kB / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.9806, allocations: 37.64 kB / 0.9835 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.9809, allocations: 118 kB / 0.9836 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9809, allocations: 0 / 0.9836 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9809, allocations: 0 / 0.9836 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9809, allocations: 0 / 0.9836 GB, free: 3.746 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.0007582/0.9817, allocations: 446.3 kB / 0.984 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9817, allocations: 16.03 kB / 0.984 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.9818, allocations: 34.56 kB / 0.984 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.9819, allocations: 7.906 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.982, allocations: 178.9 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.9821, allocations: 8 kB / 0.9842 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.9821, allocations: 8 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.9824, allocations: 89.58 kB / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9824, allocations: 0 / 0.9843 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.9824, allocations: 11.94 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.9824, allocations: 4 kB / 0.9843 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.9826, allocations: 55.89 kB / 0.9844 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.9834, allocations: 344.7 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.9836, allocations: 62.5 kB / 0.9848 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.9837, allocations: 48.84 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.9837, allocations: 0 / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.984, allocations: 103.4 kB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.984, allocations: 0 / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005677/0.9846, allocations: 201.6 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.9846, allocations: 51.41 kB / 0.9852 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.9848, allocations: 125.8 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.9848, allocations: 29.7 kB / 0.9853 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.9849, allocations: 92.14 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.9849, allocations: 19.73 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.9849, allocations: 8 kB / 0.9854 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9851, allocations: 314.8 kB / 0.9857 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.9852, allocations: 39.91 kB / 0.9858 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.9853, allocations: 63.28 kB / 0.9858 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.9854, allocations: 39.98 kB / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9854, allocations: 0 / 0.9859 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002679/0.9857, allocations: 145.4 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9857, allocations: 9.562 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9857, allocations: 0 / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9858, allocations: 4 kB / 0.986 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.9859, allocations: 11.98 kB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.9859, allocations: 4 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.986, allocations: 15.84 kB / 0.986 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.986, allocations: 4 kB / 0.9861 GB, free: 0.9492 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.0001147/0.9861, allocations: 129.8 kB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.9861, allocations: 11.86 kB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.9862, allocations: 8.375 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.9862, allocations: 8.031 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9862, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9862, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.9868, allocations: 442.6 kB / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.9868, allocations: 0 / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.9868, allocations: 4 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.9869, allocations: 4 kB / 0.9866 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.9869, allocations: 3.984 kB / 0.9866 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9869, allocations: 0 / 0.9866 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9869, allocations: 8.078 kB / 0.9866 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.9873, allocations: 259.3 kB / 0.9869 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.9874, allocations: 81.02 kB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.9874, allocations: 11.98 kB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.9875, allocations: 4 kB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.9876, allocations: 19.91 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.9876, allocations: 0 / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.9877, allocations: 99.27 kB / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9877, allocations: 0 / 0.9871 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003366/0.988, allocations: 43.98 kB / 0.9871 GB, free: 15.73 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.001003/0.9891, allocations: 0.8273 MB / 0.9879 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.9894, allocations: 103.9 kB / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9894, allocations: 0 / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.9895, allocations: 55.91 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.9898, allocations: 10.61 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.9911, allocations: 0.6691 MB / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.9914, allocations: 0.6925 MB / 0.9894 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.14e-05/0.9914, allocations: 11.98 kB / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.9915, allocations: 23.42 kB / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9915, allocations: 0 / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/1.005, allocations: 2.673 MB / 0.9921 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.006, allocations: 237.5 kB / 0.9923 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.878, allocations: 1 kB / 0.9923 GB, free: 10.49 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