Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001346, allocations: 105.8 kB / 15.98 MB, free: 6.348 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.00169/0.00169, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 469.4 MB / 0.7423 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 56.78 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2761, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002712/0.2788, allocations: 1.583 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2801, allocations: 0.7558 MB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.2802, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.2803, allocations: 3.938 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.2803, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.2809, allocations: 119.7 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2811, allocations: 103.8 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.2812, allocations: 12 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2813, allocations: 47.83 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.552e-05/0.2814, allocations: 59.8 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2814, allocations: 15.94 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2816, allocations: 91.91 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.2817, allocations: 19.98 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.2817, allocations: 43.78 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2819, allocations: 120 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2819, allocations: 3.938 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2819, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.282, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006783/0.2826, allocations: 456.6 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2827, allocations: 8.031 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.2827, allocations: 8.844 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2829, allocations: 188.1 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.283, allocations: 4.375 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.283, allocations: 4.375 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.2832, allocations: 93.94 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2833, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2833, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2833, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2835, allocations: 47.91 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.2842, allocations: 352.6 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2844, allocations: 62.55 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.2846, allocations: 44.92 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2846, allocations: 3.938 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.2849, allocations: 95.5 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2849, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005512/0.2854, allocations: 185.5 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2855, allocations: 63.39 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2856, allocations: 117.8 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2856, allocations: 37.69 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.2857, allocations: 95.98 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2857, allocations: 15.81 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.2858, allocations: 33.7 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2859, allocations: 326.8 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.286, allocations: 27.98 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2861, allocations: 65.02 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.2863, allocations: 96.2 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2863, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002627/0.2866, allocations: 133.4 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2866, allocations: 4 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2866, allocations: 4 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2866, allocations: 0 / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2867, allocations: 23.92 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2868, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.2868, allocations: 11.92 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.2869, allocations: 4 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.688e-05/0.287, allocations: 136.3 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.287, allocations: 7.906 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.287, allocations: 12.3 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.287, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.287, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.287, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.2876, allocations: 434.3 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2877, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.2877, allocations: 7.984 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2877, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2877, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2877, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2878, allocations: 7.922 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.2882, allocations: 243.9 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.2882, allocations: 81.02 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.2882, allocations: 4 kB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2884, allocations: 8.047 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.2884, allocations: 11.94 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2884, allocations: 11.92 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001095/0.2885, allocations: 96.39 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2885, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003035/0.2889, allocations: 43.94 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003212/0.2892, allocations: 170.7 kB / 1.07 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.2895, allocations: 91.95 kB / 1.07 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2895, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2896, allocations: 51.91 kB / 1.07 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.2899, allocations: 11.98 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.2904, allocations: 242 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.2906, allocations: 0.6885 MB / 1.071 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.2907, allocations: 19.38 kB / 1.071 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.2907, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of Templates: time 0.00352/0.2942, allocations: 1.808 MB / 1.073 GB, free: 5.25 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches