Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_11_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.001437/0.001437, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.425/2.425, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 63.52 kB / 0.9086 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2279, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002083/0.23, allocations: 1.333 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006044/0.2306, allocations: 356.7 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.2307, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.361e-05/0.2308, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.811e-05/0.2308, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.2311, allocations: 95.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.2312, allocations: 55.91 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.894e-05/0.2313, allocations: 4 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.2313, allocations: 23.91 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.2314, allocations: 15.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2314, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.2315, allocations: 91.84 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.2316, allocations: 27.92 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.2316, allocations: 43.75 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.2318, allocations: 159.5 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2318, allocations: 4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2318, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2318, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 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.0004487/0.2323, allocations: 0.5086 MB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.2323, allocations: 12.03 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.2324, allocations: 50.73 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.2325, allocations: 12.84 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2326, allocations: 176.2 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2326, allocations: 4.375 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2326, allocations: 4.359 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2329, allocations: 242.1 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2329, allocations: 3.938 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2329, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.2329, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.233, allocations: 148 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.2332, allocations: 197.5 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2336, allocations: 0.534 MB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.234, allocations: 0.5207 MB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-06/0.234, allocations: 7.875 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.2343, allocations: 403.6 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=39): time 1.192e-06/0.2343, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.0006906/0.235, allocations: 0.6812 MB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.2351, allocations: 105.1 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.2352, allocations: 97.84 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2352, allocations: 37.64 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.2352, allocations: 84.73 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.2353, allocations: 75 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.2354, allocations: 29.7 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2355, allocations: 330.9 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.2356, allocations: 83.97 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.2356, allocations: 83.97 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.2359, allocations: 353.3 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2359, allocations: 0 / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003205/0.2363, allocations: 340.1 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-05/0.2363, allocations: 83.14 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2363, allocations: 0 / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.2364, allocations: 0 / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.2364, allocations: 3.938 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2364, allocations: 8.062 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.2365, allocations: 19.75 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2365, allocations: 8 kB / 1.071 GB, free: 6.523 MB / 0.8262 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 (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,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.2367, allocations: 265.7 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.2368, allocations: 23.84 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-06/0.2368, allocations: 5.219 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.2368, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2368, allocations: 3.984 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2368, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.237, allocations: 253.3 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.237, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.237, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.237, allocations: 7.938 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.237, allocations: 12 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.237, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2371, allocations: 3.984 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2382, allocations: 1.275 MB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.2382, allocations: 96.8 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.2383, allocations: 79.97 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.2384, allocations: 8 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.2384, allocations: 8 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2385, allocations: 19.98 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.2385, allocations: 83.22 kB / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2385, allocations: 0 / 1.073 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002523/0.2388, allocations: 71.98 kB / 1.073 GB, free: 4.219 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001663/0.2404, allocations: 1.963 MB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.2419, allocations: 1.967 MB / 1.077 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2419, allocations: 0 / 1.077 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.2434, allocations: 2.011 MB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.2435, allocations: 20.11 kB / 1.079 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.2441, allocations: 398.9 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2444, allocations: 0.7166 MB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.2444, allocations: 0 / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.2445, allocations: 27.44 kB / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2445, allocations: 0 / 1.08 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.86/3.104, allocations: 4.105 MB / 1.084 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.745/12.85, allocations: 7.938 kB / 1.084 GB, free: 9.004 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches