Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_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.0009369/0.0009369, allocations: 84.38 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.001136/0.001136, 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.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.4 MB / 0.6655 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004913, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8889/0.8894, allocations: 142.3 MB / 0.9538 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001468/0.891, allocations: 1.044 MB / 0.9549 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.8917, allocations: 334.6 kB / 0.9552 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.8918, allocations: 0 / 0.9552 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.8919, allocations: 8 kB / 0.9552 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.163e-05/0.8919, allocations: 5.406 kB / 0.9552 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.8923, allocations: 68.92 kB / 0.9553 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.36e-05/0.8924, allocations: 40.58 kB / 0.9553 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.8925, allocations: 2.062 kB / 0.9553 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.8925, allocations: 19.2 kB / 0.9553 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.8926, allocations: 14.17 kB / 0.9553 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.8926, allocations: 2.562 kB / 0.9553 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.8928, allocations: 73.83 kB / 0.9554 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.8928, allocations: 35.19 kB / 0.9554 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.8929, allocations: 42.86 kB / 0.9555 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.8931, allocations: 110.1 kB / 0.9556 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.8931, allocations: 4 kB / 0.9556 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8931, allocations: 4.75 kB / 0.9556 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8931, allocations: 0 / 0.9556 GB, free: 6.871 MB / 0.7169 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.0004694/0.8936, allocations: 0.4917 MB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8936, allocations: 8.625 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.8937, allocations: 44.89 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.8938, allocations: 28.31 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.249e-05/0.8939, allocations: 174.6 kB / 0.9563 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.8939, allocations: 2.062 kB / 0.9563 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.8939, allocations: 2.719 kB / 0.9563 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.8943, allocations: 245.1 kB / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.8943, allocations: 0 / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8943, allocations: 2.438 kB / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8943, allocations: 0 / 0.9566 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.8945, allocations: 152.9 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.8946, allocations: 192.8 kB / 0.9569 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.8951, allocations: 0.5348 MB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.8954, allocations: 0.5232 MB / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.8954, allocations: 0 / 0.9579 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.8958, allocations: 394.9 kB / 0.9583 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.082e-06/0.8958, allocations: 0 / 0.9583 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0008167/0.8967, allocations: 0.6878 MB / 0.959 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.8967, allocations: 104.6 kB / 0.9591 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.8968, allocations: 101.8 kB / 0.9592 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.8968, allocations: 26.67 kB / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.8968, allocations: 82.02 kB / 0.9593 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.8969, allocations: 77.38 kB / 0.9593 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.8969, allocations: 5.5 kB / 0.9594 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.897, allocations: 331.5 kB / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.8971, allocations: 79.92 kB / 0.9597 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.8972, allocations: 89.72 kB / 0.9598 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.8974, allocations: 174.6 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.8974, allocations: 0 / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003491/0.8977, allocations: 332.5 kB / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.992e-05/0.8978, allocations: 82.48 kB / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8978, allocations: 0 / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8978, allocations: 0 / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.8979, allocations: 2.219 kB / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8979, allocations: 0 / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.898, allocations: 25.58 kB / 0.9604 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.8981, allocations: 10.78 kB / 0.9604 GB, free: 3.25 MB / 0.7169 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.0002382/0.8983, allocations: 261.3 kB / 0.9607 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.8983, allocations: 18.44 kB / 0.9607 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.359e-05/0.8984, allocations: 9.203 kB / 0.9607 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8984, allocations: 4.875 kB / 0.9607 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.8984, allocations: 3.938 kB / 0.9607 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8984, allocations: 1.125 kB / 0.9607 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.8986, allocations: 256.2 kB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8986, allocations: 0 / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.8986, allocations: 4 kB / 0.961 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8986, allocations: 1.375 kB / 0.961 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.8986, allocations: 16.61 kB / 0.961 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8986, allocations: 0 / 0.961 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8986, allocations: 0 / 0.961 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.8999, allocations: 1.275 MB / 0.9622 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.9, allocations: 96.69 kB / 0.9623 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.9001, allocations: 79.75 kB / 0.9624 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.9002, allocations: 11.34 kB / 0.9624 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.9002, allocations: 11.67 kB / 0.9624 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.9003, allocations: 13 kB / 0.9624 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.9003, allocations: 77.62 kB / 0.9625 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9003, allocations: 0 / 0.9625 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003299/0.9006, allocations: 76.58 kB / 0.9626 GB, free: 1.918 MB / 0.7169 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.001928/0.9026, allocations: 1.966 MB / 0.9645 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.9045, allocations: 1.964 MB / 0.9664 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9046, allocations: 1.031 kB / 0.9664 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.9066, allocations: 2.01 MB / 0.9684 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.9068, allocations: 29.48 kB / 0.9684 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008243/0.9077, allocations: 395.8 kB / 0.9688 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.9081, allocations: 0.7205 MB / 0.9695 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.9081, allocations: 1.031 kB / 0.9695 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.9081, allocations: 32.55 kB / 0.9695 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of SimCode: time 3.096e-06/0.9082, allocations: 0 / 0.9695 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.9235, allocations: 3.867 MB / 0.9733 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.9237, allocations: 244.8 kB / 0.9735 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.692, allocations: 0 / 0.9735 GB, free: 11.1 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat does not exist to compare? outputFormat=mat