Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_10_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.005485/0.005485, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001649/0.001649, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 59.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3705, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003451/0.374, allocations: 1.333 MB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.375, allocations: 343.3 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.3751, allocations: 8 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3752, allocations: 3.938 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.3753, allocations: 3.938 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.3759, allocations: 91.77 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.376, allocations: 67.78 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.3761, allocations: 4 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.3762, allocations: 19.97 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.3763, allocations: 23.92 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3763, allocations: 4 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.3765, allocations: 75.91 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.3766, allocations: 23.92 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.3766, allocations: 51.67 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3769, allocations: 163.5 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3769, allocations: 4 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3769, allocations: 3.938 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3769, allocations: 4 kB / 1.168 GB, free: 5.125 MB / 0.92 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.0005692/0.3775, allocations: 0.5034 MB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3776, allocations: 8.031 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.3776, allocations: 50.73 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3777, allocations: 16.75 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3779, allocations: 176.2 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3779, allocations: 4.375 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3779, allocations: 8.375 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.3782, allocations: 242.1 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3782, allocations: 3.938 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3782, allocations: 4 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3782, allocations: 0 / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.3784, allocations: 144 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.3786, allocations: 194 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.379, allocations: 0.5337 MB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.3794, allocations: 0.5243 MB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3794, allocations: 0 / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.3799, allocations: 403.6 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/0.3799, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.0007912/0.3807, allocations: 0.6786 MB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.3807, allocations: 109.1 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.3808, allocations: 101.8 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3809, allocations: 33.73 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.3809, allocations: 80.8 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.381, allocations: 83.12 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.3811, allocations: 29.7 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3812, allocations: 326.8 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.3813, allocations: 79.97 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/0.3813, allocations: 91.91 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.3816, allocations: 344.4 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3817, allocations: 4.031 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003649/0.382, allocations: 344.1 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.3821, allocations: 81.58 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3821, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3821, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.3822, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3822, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3823, allocations: 27.75 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3824, allocations: 4 kB / 1.173 GB, free: 15.66 MB / 0.9356 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.0002565/0.3826, allocations: 265.6 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.3827, allocations: 27.84 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.46e-05/0.3827, allocations: 9.391 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3827, allocations: 3.984 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3827, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3827, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3829, allocations: 249.3 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3829, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-07/0.3829, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3829, allocations: 3.938 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.383, allocations: 19.98 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.383, allocations: 7.938 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.383, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3842, allocations: 1.279 MB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.3842, allocations: 92.89 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3843, allocations: 79.94 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.3844, allocations: 8 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.3845, allocations: 11.94 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3845, allocations: 15.98 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.3846, allocations: 83.31 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3846, allocations: 0 / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003201/0.3849, allocations: 71.98 kB / 1.175 GB, free: 13.34 MB / 0.9356 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.002034/0.3869, allocations: 1.962 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.3887, allocations: 1.964 MB / 1.179 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.3887, allocations: 0 / 1.179 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.3902, allocations: 2.011 MB / 1.181 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3905, allocations: 24.39 kB / 1.181 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007389/0.3913, allocations: 385.1 kB / 1.182 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3916, allocations: 0.7166 MB / 1.182 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.3916, allocations: 7.875 kB / 1.182 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3916, allocations: 27.44 kB / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.3917, allocations: 0 / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.4159, allocations: 4.135 MB / 1.186 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.26, allocations: 18 kB / 1.186 GB, free: 2.125 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occ.occ Variables in the result:occ.occ,occ.one_mu,occ.seed,occ.zero_mu,time