Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.00162, allocations: 100.1 kB / 15.88 MB, free: 12 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.001962/0.001962, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.11 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3001, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003048/0.3032, allocations: 1.556 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3046, allocations: 0.744 MB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.3047, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.3048, allocations: 7.875 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.3048, allocations: 3.938 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3054, allocations: 111.7 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3055, allocations: 67.83 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.3056, allocations: 16 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.443e-05/0.3057, allocations: 27.91 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.3057, allocations: 39.83 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.3058, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.306, allocations: 95.84 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.306, allocations: 11.92 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.3061, allocations: 31.86 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3063, allocations: 100 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3063, allocations: 0 / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.3063, allocations: 4 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.3063, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006444/0.307, allocations: 417 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.307, allocations: 11.97 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3071, allocations: 12.83 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3072, allocations: 184.1 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3072, allocations: 4.375 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3073, allocations: 4.375 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3075, allocations: 73.97 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3075, allocations: 4 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3075, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3075, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3076, allocations: 35.97 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.3083, allocations: 320.7 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3084, allocations: 50.55 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.3085, allocations: 28.97 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3085, allocations: 4 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.3087, allocations: 79.38 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3088, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004004/0.3092, allocations: 141.5 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3092, allocations: 55.41 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.3093, allocations: 121.8 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3093, allocations: 25.7 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.3094, allocations: 88.14 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.3094, allocations: 19.75 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3095, allocations: 33.7 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3096, allocations: 322.8 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.3097, allocations: 23.98 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.3098, allocations: 55.78 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.31, allocations: 83.34 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.31, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002543/0.3102, allocations: 121.4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3103, allocations: 9.406 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3103, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3103, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3104, allocations: 24.05 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3104, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.3105, allocations: 7.906 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3105, allocations: 4 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001029/0.3106, allocations: 128.6 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.3107, allocations: 4 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.3107, allocations: 8.375 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3107, allocations: 4 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3107, allocations: 4 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.3107, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.3112, allocations: 386.3 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3112, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.3113, allocations: 15.98 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3113, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3113, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3113, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3113, allocations: 7.984 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.3116, allocations: 211.4 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.3116, allocations: 81.11 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3117, allocations: 4 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.3117, allocations: 0 / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.3118, allocations: 11.92 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3118, allocations: 4 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.3119, allocations: 99.42 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003077/0.3122, allocations: 43.92 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003509/0.3126, allocations: 160.1 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.3128, allocations: 67.97 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3128, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.3129, allocations: 47.89 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3132, allocations: 6.125 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.3136, allocations: 225.1 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3139, allocations: 0.6848 MB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3139, allocations: 15.42 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3139, allocations: 0 / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of Templates: time 0.003697/0.3176, allocations: 1.609 MB / 1.061 GB, free: 14.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches