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.001118/0.001119, allocations: 100.1 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.001301/0.001301, allocations: 177.3 kB / 15.95 MB, free: 216 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.493/1.493, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.631/2.631, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 15.94 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.928/0.9284, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001575/0.93, allocations: 1.048 MB / 0.9819 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.9308, allocations: 329.7 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.9308, allocations: 0 / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.9309, allocations: 3.984 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.931, allocations: 11.94 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.9313, allocations: 63.84 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.9314, allocations: 31.84 kB / 0.9823 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.9315, allocations: 4 kB / 0.9823 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.9315, allocations: 19.97 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.9316, allocations: 19.92 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.9316, allocations: 4 kB / 0.9824 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.9318, allocations: 51.94 kB / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.9318, allocations: 23.92 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.9319, allocations: 45.64 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.932, allocations: 111.8 kB / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.9321, allocations: 0 / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9321, allocations: 0 / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.9321, allocations: 4 kB / 0.9826 GB, free: 4.535 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.0005176/0.9326, allocations: 0.4987 MB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.9327, allocations: 12.03 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.9327, allocations: 46.48 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.9328, allocations: 19.81 kB / 0.9831 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.933, allocations: 178.9 kB / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.933, allocations: 7.984 kB / 0.9833 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.933, allocations: 0 / 0.9833 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.9333, allocations: 241.6 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9334, allocations: 7.938 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.9334, allocations: 4 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.9334, allocations: 3.984 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.9336, allocations: 144 kB / 0.9837 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.9338, allocations: 185.5 kB / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.9342, allocations: 0.5379 MB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.9342, allocations: 0 / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.9347, allocations: 403.6 kB / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 4.458e-06/0.9347, allocations: 0 / 0.9848 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.0009825/0.9357, allocations: 0.7928 MB / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.9357, allocations: 101.1 kB / 0.9857 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.9358, allocations: 101.8 kB / 0.9858 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.9359, allocations: 29.7 kB / 0.9858 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.9359, allocations: 80.8 kB / 0.9859 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.086e-05/0.936, allocations: 74.97 kB / 0.9859 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.936, allocations: 7.969 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9361, allocations: 326.8 kB / 0.9863 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.9362, allocations: 79.97 kB / 0.9863 GB, free: 432 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.9363, allocations: 83.98 kB / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.9365, allocations: 169.6 kB / 0.9866 GB, free: 172 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9365, allocations: 4 kB / 0.9866 GB, free: 168 kB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003665/0.9369, allocations: 332.4 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.937, allocations: 77.64 kB / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.937, allocations: 0 / 0.987 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.937, allocations: 4.016 kB / 0.987 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.9371, allocations: 7.938 kB / 0.987 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.9371, allocations: 0 / 0.987 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.9372, allocations: 23.75 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.9373, allocations: 12 kB / 0.987 GB, free: 15.7 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.0002575/0.9375, allocations: 266.9 kB / 0.9873 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.9376, allocations: 23.81 kB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.275e-05/0.9376, allocations: 5.219 kB / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9376, allocations: 0 / 0.9873 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9376, allocations: 3.953 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9376, allocations: 4 kB / 0.9873 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.9378, allocations: 249.4 kB / 0.9875 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9378, allocations: 0 / 0.9875 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.9378, allocations: 0 / 0.9875 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.9378, allocations: 4 kB / 0.9875 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.9379, allocations: 15.98 kB / 0.9876 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9379, allocations: 0 / 0.9876 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9379, allocations: 0 / 0.9876 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.9391, allocations: 1.291 MB / 0.9888 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.9391, allocations: 92.89 kB / 0.9889 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.9393, allocations: 67.95 kB / 0.989 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.9393, allocations: 8 kB / 0.989 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.9394, allocations: 11.98 kB / 0.989 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.9394, allocations: 16 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.9395, allocations: 87.39 kB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9395, allocations: 0 / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003376/0.9398, allocations: 64 kB / 0.9892 GB, free: 13.4 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.001874/0.9417, allocations: 1.961 MB / 0.9911 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.9436, allocations: 1.964 MB / 0.993 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9436, allocations: 0 / 0.993 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.9453, allocations: 2.026 MB / 0.995 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.9455, allocations: 8 kB / 0.995 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.9463, allocations: 396.3 kB / 0.9953 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.9466, allocations: 0.7169 MB / 0.996 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.9467, allocations: 7.984 kB / 0.9961 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.9467, allocations: 27.44 kB / 0.9961 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.9467, allocations: 3.938 kB / 0.9961 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.9664, allocations: 3.867 MB / 0.9999 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.9667, allocations: 241.3 kB / 1 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.666, allocations: 3.375 kB / 1 GB, free: 2.262 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