Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005521/0.005521, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001173/0.001173, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3808, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003042/0.3839, allocations: 1.502 MB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3855, allocations: 0.7327 MB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.3856, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.3857, allocations: 7.938 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.3858, allocations: 7.875 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.3864, allocations: 127.5 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3866, allocations: 75.81 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3867, allocations: 11.95 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3868, allocations: 35.84 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.3869, allocations: 47.83 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3869, allocations: 8 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3871, allocations: 91.91 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.3871, allocations: 15.92 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.3872, allocations: 31.86 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3875, allocations: 147.5 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3875, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3875, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3875, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 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.0007457/0.3883, allocations: 420.9 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3883, allocations: 8.625 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.3884, allocations: 8.844 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3885, allocations: 176.2 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3885, allocations: 8.375 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3886, allocations: 8.359 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3888, allocations: 69.91 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3888, allocations: 0 / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.3888, allocations: 7.938 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3888, allocations: 8 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.389, allocations: 35.97 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.3896, allocations: 312.7 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3897, allocations: 50.5 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.3898, allocations: 32.97 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3899, allocations: 0 / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.3901, allocations: 79.44 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3901, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004608/0.3905, allocations: 141.6 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3906, allocations: 59.34 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3907, allocations: 121.8 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3907, allocations: 29.7 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.3908, allocations: 92.12 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3908, allocations: 19.75 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.3909, allocations: 25.7 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.391, allocations: 322.8 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3911, allocations: 27.98 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.3912, allocations: 47 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3914, allocations: 82.77 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3914, allocations: 0 / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002588/0.3917, allocations: 117.5 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3917, allocations: 4 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3917, allocations: 4 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3917, allocations: 0 / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.3918, allocations: 15.92 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3919, allocations: 0 / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.3919, allocations: 4 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3919, allocations: 4 kB / 1.213 GB, free: 4.309 MB / 0.9669 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.0001009/0.392, allocations: 129.8 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.3921, allocations: 11.89 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.3921, allocations: 8.375 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3921, allocations: 0 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3921, allocations: 0 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3921, allocations: 3.938 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.3926, allocations: 382.4 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3926, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.3927, allocations: 11.94 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3927, allocations: 3.984 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3927, allocations: 8 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3927, allocations: 0 / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3927, allocations: 3.938 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.393, allocations: 203.4 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.393, allocations: 89 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3931, allocations: 4 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3932, allocations: 4 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3932, allocations: 7.922 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3932, allocations: 4 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.3933, allocations: 99.42 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3933, allocations: 0 / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003095/0.3936, allocations: 36 kB / 1.214 GB, free: 3.215 MB / 0.9669 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.0003778/0.394, allocations: 164.6 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3943, allocations: 72.12 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3943, allocations: 0 / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3944, allocations: 40.06 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3947, allocations: 16.12 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.3951, allocations: 188.5 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3954, allocations: 0.6885 MB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.3955, allocations: 7.984 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3955, allocations: 15.42 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3955, allocations: 0 / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of Templates: time 0.004654/0.4002, allocations: 1.477 MB / 1.216 GB, free: 0.5195 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0