Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",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.0011/0.0011, allocations: 91.53 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.001935/0.001935, 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.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.719/2.719, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004134, allocations: 12 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7825, allocations: 146.8 MB / 0.9811 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001536/0.784, allocations: 1.048 MB / 0.9821 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.7848, allocations: 333.5 kB / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.7848, allocations: 0 / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.7849, allocations: 0 / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.785, allocations: 15.92 kB / 0.9825 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.7854, allocations: 63.86 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.7855, allocations: 39.91 kB / 0.9826 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.7856, allocations: 4 kB / 0.9826 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.7856, allocations: 15.92 kB / 0.9826 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.7857, allocations: 11.98 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.7857, allocations: 7.938 kB / 0.9826 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.7859, allocations: 71.86 kB / 0.9827 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.7859, allocations: 31.91 kB / 0.9827 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.786, allocations: 49.64 kB / 0.9828 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.7862, allocations: 111.8 kB / 0.9829 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7862, allocations: 0 / 0.9829 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7862, allocations: 0 / 0.9829 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.7862, allocations: 0 / 0.9829 GB, free: 4.527 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004844/0.7867, allocations: 0.5026 MB / 0.9834 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.7867, allocations: 12.03 kB / 0.9834 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.7868, allocations: 46.55 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.7869, allocations: 15.81 kB / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.787, allocations: 178.9 kB / 0.9836 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.7871, allocations: 4 kB / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.7871, allocations: 0 / 0.9836 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.7874, allocations: 253.5 kB / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.7874, allocations: 0 / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.7874, allocations: 4 kB / 0.9839 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7874, allocations: 0 / 0.9839 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.7876, allocations: 144 kB / 0.984 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.7878, allocations: 193.5 kB / 0.9842 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.7882, allocations: 0.5379 MB / 0.9847 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.7885, allocations: 0.5207 MB / 0.9852 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.7885, allocations: 3.938 kB / 0.9852 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/0.7889, allocations: 399.6 kB / 0.9856 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.253e-06/0.7889, allocations: 0 / 0.9856 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.0007269/0.7897, allocations: 0.6747 MB / 0.9863 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.7898, allocations: 113.1 kB / 0.9864 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.7898, allocations: 93.86 kB / 0.9864 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.7899, allocations: 29.7 kB / 0.9865 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.7899, allocations: 92.72 kB / 0.9866 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.79, allocations: 74.91 kB / 0.9866 GB, free: 432 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.79, allocations: 4 kB / 0.9866 GB, free: 428 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7901, allocations: 322.8 kB / 0.9869 GB, free: 96 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.7902, allocations: 79.98 kB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.7903, allocations: 83.98 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.7905, allocations: 177.6 kB / 0.9873 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7905, allocations: 0 / 0.9873 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003587/0.7909, allocations: 332.4 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.104e-05/0.791, allocations: 81.64 kB / 0.9877 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.791, allocations: 4 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.791, allocations: 3.953 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.7911, allocations: 7.938 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7911, allocations: 0 / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.7912, allocations: 23.75 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.7912, allocations: 4 kB / 0.9877 GB, free: 15.29 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002521/0.7915, allocations: 269.7 kB / 0.988 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.7915, allocations: 27.8 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.7916, allocations: 9.219 kB / 0.988 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7916, allocations: 3.953 kB / 0.988 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7916, allocations: 0 / 0.988 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.7916, allocations: 0 / 0.988 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.7918, allocations: 249.3 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7918, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.7918, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7918, allocations: 0 / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.7918, allocations: 15.98 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7918, allocations: 4 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7918, allocations: 3.953 kB / 0.9883 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.793, allocations: 1.271 MB / 0.9895 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.7931, allocations: 96.88 kB / 0.9896 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.7932, allocations: 71.95 kB / 0.9897 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.7933, allocations: 8 kB / 0.9897 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.7933, allocations: 16.02 kB / 0.9897 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.7933, allocations: 11.95 kB / 0.9897 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.7934, allocations: 95.33 kB / 0.9898 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7934, allocations: 0 / 0.9898 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003074/0.7937, allocations: 64 kB / 0.9899 GB, free: 12.98 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001772/0.7955, allocations: 1.965 MB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.7971, allocations: 1.967 MB / 0.9937 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7971, allocations: 0 / 0.9937 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.7985, allocations: 2.018 MB / 0.9957 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.7988, allocations: 19.98 kB / 0.9957 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.7995, allocations: 392.3 kB / 0.9961 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.7999, allocations: 0.7286 MB / 0.9968 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.7999, allocations: 3.906 kB / 0.9968 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.7999, allocations: 27.44 kB / 0.9968 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.7999, allocations: 0 / 0.9968 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.8192, allocations: 3.873 MB / 1.001 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.8194, allocations: 251.8 kB / 1.001 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.699, allocations: 0 / 1.001 GB, free: 1.773 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat does not exist to compare? outputFormat=mat