Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00482/0.004821, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001165/0.001165, allocations: 193.2 kB / 16.79 MB, free: 6.254 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.94 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2674, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003004/0.2704, allocations: 1.552 MB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2719, allocations: 0.7516 MB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.272, allocations: 3.938 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.272, allocations: 0 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.573e-05/0.2722, allocations: 15.86 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.2729, allocations: 95.83 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.273, allocations: 75.77 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2731, allocations: 12 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2733, allocations: 35.84 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.2734, allocations: 31.89 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2734, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.2736, allocations: 91.84 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.2737, allocations: 19.92 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.2737, allocations: 27.84 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.274, allocations: 96.06 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.274, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.274, allocations: 4 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.274, allocations: 0 / 1.055 GB, free: 5.434 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.0007498/0.2748, allocations: 421 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2748, allocations: 15.97 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.2749, allocations: 4.844 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.275, allocations: 176.2 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.2751, allocations: 8.375 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2751, allocations: 4.375 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.2753, allocations: 81.91 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2754, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2754, allocations: 3.984 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2754, allocations: 0 / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2755, allocations: 31.98 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.2763, allocations: 316.8 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.2764, allocations: 50.5 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.2765, allocations: 32.97 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.2765, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.2768, allocations: 75.44 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2768, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004229/0.2772, allocations: 145.5 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.2773, allocations: 59.39 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2774, allocations: 113.8 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2774, allocations: 33.7 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.2775, allocations: 88.12 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2775, allocations: 19.75 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2776, allocations: 29.7 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2777, allocations: 326.7 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.2778, allocations: 27.97 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.2779, allocations: 50.5 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.2781, allocations: 82.47 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2781, allocations: 0 / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000251/0.2784, allocations: 113.5 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2784, allocations: 4 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2784, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2784, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.2785, allocations: 8 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.2786, allocations: 12.05 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.2786, allocations: 7.906 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2786, allocations: 4 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.0001101/0.2788, allocations: 125.7 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.2788, allocations: 4 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.2788, allocations: 8.359 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2788, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2788, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2789, allocations: 4 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.2793, allocations: 390.3 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2794, allocations: 7.938 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.2794, allocations: 4 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2794, allocations: 3.984 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2794, allocations: 3.984 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2794, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2794, allocations: 3.938 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.2798, allocations: 211.4 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2798, allocations: 77.11 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2799, allocations: 7.984 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.28, allocations: 3.938 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.28, allocations: 11.92 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.28, allocations: 4 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.2801, allocations: 103.9 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2801, allocations: 0 / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003274/0.2804, allocations: 36 kB / 1.059 GB, free: 1.793 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,win.occ,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.0003993/0.2808, allocations: 155.9 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.2811, allocations: 76 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2811, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2812, allocations: 43.91 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2815, allocations: 7.984 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.282, allocations: 223.8 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2822, allocations: 0.6904 MB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.2823, allocations: 11.44 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.2823, allocations: 0 / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of Templates: time 0.003685/0.286, allocations: 1.612 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches