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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006244/0.006244, allocations: 96.39 kB / 15.73 MB, free: 6 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.001705/0.001705, allocations: 189.4 kB / 16.67 MB, free: 5.93 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.665/2.665, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 59.91 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2582, allocations: 162.3 MB / 1.242 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002045/0.2603, allocations: 1.341 MB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.261, allocations: 351 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.261, allocations: 0 / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.028e-05/0.2611, allocations: 3.938 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.054e-05/0.2611, allocations: 3.938 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.2615, allocations: 83.78 kB / 1.244 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2616, allocations: 59.89 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.2616, allocations: 3.938 kB / 1.244 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.2616, allocations: 23.92 kB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.2617, allocations: 19.92 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2617, allocations: 4 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2619, allocations: 79.91 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.2619, allocations: 23.92 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.262, allocations: 55.67 kB / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.2622, allocations: 155.4 kB / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2622, allocations: 4 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2622, allocations: 3.938 kB / 1.244 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2622, allocations: 0 / 1.244 GB, free: 7.699 MB / 0.9981 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.0004689/0.2627, allocations: 0.516 MB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2627, allocations: 12.03 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.2628, allocations: 42.73 kB / 1.245 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.2629, allocations: 16.83 kB / 1.245 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.263, allocations: 180.2 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.263, allocations: 8.375 kB / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.263, allocations: 8.359 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.2633, allocations: 238.8 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2633, allocations: 3.938 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2633, allocations: 4 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-06/0.2633, allocations: 0 / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.2635, allocations: 144 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.2637, allocations: 193.5 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.2641, allocations: 0.5376 MB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.2644, allocations: 0.521 MB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.2645, allocations: 4 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.2648, allocations: 399.6 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.916e-06/0.2648, allocations: 0 / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.0007273/0.2656, allocations: 0.6971 MB / 1.247 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.2657, allocations: 105.1 kB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.2657, allocations: 105.9 kB / 1.248 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2658, allocations: 25.7 kB / 1.248 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.2658, allocations: 80.8 kB / 1.248 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.2659, allocations: 75.41 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.2659, allocations: 37.64 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.266, allocations: 322.8 kB / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.2661, allocations: 87.97 kB / 1.248 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.2662, allocations: 79.97 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.2665, allocations: 357.4 kB / 1.249 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2665, allocations: 0 / 1.249 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003398/0.2669, allocations: 336.1 kB / 1.249 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.267, allocations: 85.58 kB / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.267, allocations: 0 / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.267, allocations: 0 / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.267, allocations: 4 kB / 1.249 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.267, allocations: 0 / 1.249 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.2671, allocations: 23.84 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2671, allocations: 8 kB / 1.249 GB, free: 2.211 MB / 0.9981 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.0002263/0.2674, allocations: 265.7 kB / 1.249 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.2674, allocations: 27.84 kB / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.082e-05/0.2674, allocations: 5.219 kB / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2674, allocations: 0 / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2674, allocations: 3.984 kB / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2675, allocations: 0 / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.2676, allocations: 249.4 kB / 1.25 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2676, allocations: 3.938 kB / 1.25 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2676, allocations: 0 / 1.25 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2677, allocations: 7.938 kB / 1.25 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.2677, allocations: 16 kB / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2677, allocations: 0 / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2677, allocations: 3.984 kB / 1.25 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.2689, allocations: 1.275 MB / 1.251 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2689, allocations: 100.8 kB / 1.251 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.269, allocations: 79.94 kB / 1.251 GB, free: 80 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.2691, allocations: 8 kB / 1.251 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.2691, allocations: 7.984 kB / 1.251 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.2692, allocations: 20.02 kB / 1.251 GB, free: 44 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.4368/0.706, allocations: 79.47 kB / 1.251 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.706, allocations: 0 / 1.251 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003526/0.7064, allocations: 65.42 kB / 1.251 GB, free: 15.44 MB / 0.9981 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.001575/0.708, allocations: 1.948 MB / 1.253 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.7092, allocations: 1.966 MB / 1.255 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7092, allocations: 0.9062 kB / 1.255 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.7103, allocations: 2.019 MB / 1.257 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.7105, allocations: 20.95 kB / 1.257 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.711, allocations: 396.5 kB / 1.257 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.7112, allocations: 0.7222 MB / 1.258 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.132e-05/0.7112, allocations: 0 / 1.258 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.7112, allocations: 30.66 kB / 1.258 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.7112, allocations: 0 / 1.258 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.625/2.336, allocations: 4.157 MB / 1.262 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/17.36, allocations: 10.56 kB / 1.262 GB, free: 11.3 MB / 0.9981 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/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=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches