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: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001294/0.001294, allocations: 194.9 kB / 16.25 MB, free: 6.633 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.868/2.868, allocations: 469.8 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.09 kB / 0.908 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3089, allocations: 159.2 MB / 1.063 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002964/0.3119, allocations: 1.39 MB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.3127, allocations: 356.9 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.3128, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.749e-05/0.3129, allocations: 0 / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.3129, allocations: 7.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.3133, allocations: 79.86 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3135, allocations: 59.91 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.3135, allocations: 3.984 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.3136, allocations: 15.94 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.3136, allocations: 19.92 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3136, allocations: 4 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3138, allocations: 79.84 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.3139, allocations: 27.92 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.3139, allocations: 51.72 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.3142, allocations: 159.5 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3142, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3142, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3142, allocations: 0 / 1.066 GB, free: 12.43 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.0005869/0.3148, allocations: 0.5086 MB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3148, allocations: 8.031 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.315, allocations: 20.77 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3152, allocations: 176.2 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3152, allocations: 384 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3152, allocations: 4.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3156, allocations: 246.2 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3156, allocations: 192 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3156, allocations: 7.938 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3156, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.3158, allocations: 151.9 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.316, allocations: 185.5 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.3166, allocations: 0.5379 MB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.3171, allocations: 0.5207 MB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.3171, allocations: 4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.3175, allocations: 395.7 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=39): time 1.212e-06/0.3175, allocations: 0 / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39): time 0.0008459/0.3184, allocations: 0.6928 MB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.3185, allocations: 109 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.3186, allocations: 101.8 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3186, allocations: 29.7 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.3187, allocations: 84.83 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.3188, allocations: 75 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.3188, allocations: 37.69 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.319, allocations: 322.8 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.3191, allocations: 79.98 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.3192, allocations: 87.97 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3195, allocations: 353.3 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3195, allocations: 0 / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003811/0.3199, allocations: 336 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.335e-05/0.32, allocations: 93.52 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.32, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3201, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.3201, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3201, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3202, allocations: 27.69 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3203, allocations: 4 kB / 1.071 GB, free: 7.012 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.0002777/0.3205, allocations: 265.7 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3206, allocations: 23.84 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.3206, allocations: 13.22 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3206, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3206, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3206, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.3209, allocations: 249.3 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3209, allocations: 0 / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3209, allocations: 0 / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3209, allocations: 3.938 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3209, allocations: 11.98 kB / 1.071 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3209, allocations: 8 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.321, allocations: 0 / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.3223, allocations: 1.291 MB / 1.072 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3224, allocations: 92.86 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.3225, allocations: 79.83 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.3226, allocations: 8 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3226, allocations: 11.98 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3227, allocations: 8 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.3227, allocations: 83.27 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3227, allocations: 4.031 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003063/0.323, allocations: 68 kB / 1.073 GB, free: 4.703 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.0004938/0.3235, allocations: 242.2 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.3254, allocations: 1.967 MB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3254, allocations: 0 / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.327, allocations: 2.018 MB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3273, allocations: 25.67 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.3278, allocations: 355.5 kB / 1.077 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.3282, allocations: 0.7166 MB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.405e-05/0.3282, allocations: 0 / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.3283, allocations: 11.44 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of SimCode: time 3.627e-06/0.3283, allocations: 0 / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.005917/0.3342, allocations: 2.62 MB / 1.081 GB, free: 12.69 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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 & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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