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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_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_latest_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.001093/0.001093, allocations: 110.2 kB / 16.41 MB, free: 6.496 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.001116/0.001116, allocations: 187 kB / 17.34 MB, free: 5.762 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.12 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7883, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002394/0.7907, allocations: 1.337 MB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.7915, allocations: 347 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.7915, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.884e-05/0.7916, allocations: 3.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.817e-05/0.7917, allocations: 11.91 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.7921, allocations: 87.78 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.7922, allocations: 51.92 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.7923, allocations: 11.92 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.7923, allocations: 19.92 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.7924, allocations: 19.91 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.7924, allocations: 4 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.7926, allocations: 79.92 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.7926, allocations: 27.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.7927, allocations: 51.73 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.7929, allocations: 159.5 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7929, allocations: 3.938 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7929, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.7929, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 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.0004754/0.7934, allocations: 0.5121 MB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.7935, allocations: 8.031 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.7936, allocations: 16.83 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.7937, allocations: 184.2 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.7937, allocations: 384 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.7938, allocations: 4.375 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.794, allocations: 242.2 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.794, allocations: 4.125 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.7941, allocations: 7.938 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.7941, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.7942, allocations: 144 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.7944, allocations: 185.5 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.7948, allocations: 0.5415 MB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.7951, allocations: 0.5242 MB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.7951, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.7955, allocations: 395.7 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/0.7955, allocations: 0 / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39): time 0.0007105/0.7962, allocations: 0.6931 MB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.7963, allocations: 113.1 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.7964, allocations: 93.86 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.7964, allocations: 25.7 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.7964, allocations: 84.8 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.7965, allocations: 71 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.7966, allocations: 41.69 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.7967, allocations: 326.8 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.7968, allocations: 75.98 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.7968, allocations: 91.97 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.7971, allocations: 353.3 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7971, allocations: 0 / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003287/0.7975, allocations: 336 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.7975, allocations: 81.58 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7976, allocations: 7.938 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7976, allocations: 0 / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.7976, allocations: 0 / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7976, allocations: 4 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.7977, allocations: 21.58 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.7978, allocations: 12.06 kB / 1.216 GB, free: 6.02 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.0002276/0.798, allocations: 273.7 kB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.7981, allocations: 23.84 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-06/0.7981, allocations: 5.219 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.7981, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7981, allocations: 0 / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7981, allocations: 192 / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.7983, allocations: 249.3 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7983, allocations: 0 / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.7983, allocations: 0 / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7983, allocations: 11.92 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.7983, allocations: 15.98 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7983, allocations: 0 / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7983, allocations: 7.938 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.7994, allocations: 1.283 MB / 1.217 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.7995, allocations: 92.89 kB / 1.217 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.7996, allocations: 75.89 kB / 1.218 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.7997, allocations: 8 kB / 1.218 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.7997, allocations: 16.02 kB / 1.218 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.7998, allocations: 12 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.7998, allocations: 79.27 kB / 1.218 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7998, allocations: 0 / 1.218 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002881/0.8001, allocations: 64 kB / 1.218 GB, free: 3.719 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.0004132/0.8005, allocations: 241.1 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.8019, allocations: 1.971 MB / 1.22 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.802, allocations: 0 / 1.22 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.8033, allocations: 2.014 MB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.8035, allocations: 16 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.804, allocations: 371 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.8043, allocations: 0.7167 MB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.8043, allocations: 11.44 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.8043, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.004089/0.8084, allocations: 2.44 MB / 1.225 GB, free: 11.87 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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