Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_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_11_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.000859/0.0008588, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005248/0.005248, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 3.166/3.166, allocations: 470.6 MB / 0.7442 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 12.34 kB / 0.9123 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3992, allocations: 161.4 MB / 1.07 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002079/0.4013, allocations: 1.231 MB / 1.071 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.4028, allocations: 0.7053 MB / 1.072 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.4029, allocations: 0 / 1.072 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.4029, allocations: 7.922 kB / 1.072 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.403, allocations: 19.86 kB / 1.072 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.4036, allocations: 99.78 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.4037, allocations: 71.81 kB / 1.072 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4038, allocations: 8 kB / 1.072 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.4039, allocations: 27.86 kB / 1.072 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.4041, allocations: 43.81 kB / 1.072 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.4041, allocations: 8 kB / 1.072 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.4043, allocations: 91.91 kB / 1.072 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.4044, allocations: 11.92 kB / 1.072 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4045, allocations: 49.56 kB / 1.072 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.4049, allocations: 151.8 kB / 1.072 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4049, allocations: 0 / 1.072 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.055e-06/0.4049, allocations: 0 / 1.072 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4049, allocations: 3.938 kB / 1.072 GB, free: 8.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001057/0.406, allocations: 406.6 kB / 1.073 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.4061, allocations: 11.97 kB / 1.073 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.4061, allocations: 4.938 kB / 1.073 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.4064, allocations: 172.2 kB / 1.073 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.4065, allocations: 8.375 kB / 1.073 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.4065, allocations: 4.375 kB / 1.073 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.4068, allocations: 73.95 kB / 1.073 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4068, allocations: 0 / 1.073 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.4069, allocations: 11.94 kB / 1.073 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.4069, allocations: 4 kB / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4071, allocations: 43.95 kB / 1.073 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008843/0.408, allocations: 320.7 kB / 1.073 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.4081, allocations: 54.55 kB / 1.073 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4083, allocations: 40.91 kB / 1.073 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.4083, allocations: 3.938 kB / 1.073 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.4086, allocations: 79.38 kB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.4086, allocations: 0 / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005606/0.4092, allocations: 145.5 kB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.4093, allocations: 55.41 kB / 1.074 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.4095, allocations: 121.8 kB / 1.074 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4095, allocations: 29.7 kB / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4096, allocations: 88.14 kB / 1.074 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.4097, allocations: 31.73 kB / 1.074 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4097, allocations: 17.72 kB / 1.074 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.4099, allocations: 318.8 kB / 1.074 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4101, allocations: 35.98 kB / 1.074 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4102, allocations: 51.42 kB / 1.074 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4104, allocations: 87.34 kB / 1.074 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4104, allocations: 0 / 1.074 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002799/0.4107, allocations: 121.5 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4107, allocations: 7.984 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4108, allocations: 0 / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.4108, allocations: 8.062 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4109, allocations: 12 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.4109, allocations: 7.984 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.411, allocations: 12 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.411, allocations: 4 kB / 1.075 GB, free: 6.289 MB / 0.8262 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.000138/0.4112, allocations: 117.8 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.4112, allocations: 7.906 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.4113, allocations: 16.36 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4113, allocations: 3.938 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4113, allocations: 3.938 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4113, allocations: 0 / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.4119, allocations: 390.3 kB / 1.075 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4119, allocations: 0 / 1.075 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.4119, allocations: 8 kB / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4119, allocations: 0 / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.412, allocations: 11.98 kB / 1.075 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.412, allocations: 0 / 1.075 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.412, allocations: 3.938 kB / 1.075 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.4123, allocations: 215.4 kB / 1.075 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.4124, allocations: 81.02 kB / 1.075 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.4124, allocations: 7.984 kB / 1.075 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.4125, allocations: 8 kB / 1.075 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.4126, allocations: 7.922 kB / 1.075 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.4126, allocations: 4 kB / 1.075 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.368e-05/0.4127, allocations: 91.27 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4127, allocations: 0 / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003653/0.4131, allocations: 36 kB / 1.076 GB, free: 5.195 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: 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.0006502/0.4138, allocations: 163.8 kB / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.4141, allocations: 79.89 kB / 1.076 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4141, allocations: 4.125 kB / 1.076 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.4142, allocations: 39.97 kB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.4146, allocations: 11.98 kB / 1.076 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.4152, allocations: 209.1 kB / 1.076 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.4158, allocations: 0.6887 MB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.758e-05/0.4158, allocations: 7.984 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.4159, allocations: 11.44 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4159, allocations: 0 / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.006062/0.4219, allocations: 1.365 MB / 1.078 GB, free: 2.578 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0