Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001247/0.001247, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.402/1.402, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.14 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2989, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002673/0.3016, allocations: 1.501 MB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3029, allocations: 0.7334 MB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.3029, allocations: 0 / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.3029, allocations: 11.92 kB / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.303, allocations: 7.875 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.3035, allocations: 123.6 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.3036, allocations: 79.72 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.079e-05/0.3037, allocations: 11.94 kB / 1.264 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.3038, allocations: 35.91 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.3039, allocations: 43.83 kB / 1.265 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3039, allocations: 4 kB / 1.265 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.3041, allocations: 107.8 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.3041, allocations: 11.98 kB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.3042, allocations: 35.8 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3044, allocations: 135.5 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3044, allocations: 4 kB / 1.265 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3044, allocations: 4 kB / 1.265 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3044, allocations: 0 / 1.265 GB, free: 10.08 MB / 0.9825 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.0006474/0.3051, allocations: 416.7 kB / 1.265 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3051, allocations: 12.03 kB / 1.265 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.3051, allocations: 4.891 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3053, allocations: 180.3 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3053, allocations: 8.312 kB / 1.265 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3053, allocations: 4.375 kB / 1.265 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.3055, allocations: 77.97 kB / 1.265 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3055, allocations: 7.922 kB / 1.265 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3055, allocations: 3.984 kB / 1.265 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3055, allocations: 0 / 1.265 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3057, allocations: 31.98 kB / 1.266 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.3063, allocations: 320.8 kB / 1.266 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3064, allocations: 46.5 kB / 1.266 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.3065, allocations: 28.97 kB / 1.266 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3065, allocations: 0 / 1.266 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3067, allocations: 79.44 kB / 1.266 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3067, allocations: 8 kB / 1.266 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003925/0.3071, allocations: 137.5 kB / 1.266 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3071, allocations: 63.39 kB / 1.266 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.3072, allocations: 117.8 kB / 1.266 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3073, allocations: 29.7 kB / 1.266 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.3073, allocations: 96.12 kB / 1.266 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3074, allocations: 15.84 kB / 1.266 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.3074, allocations: 33.7 kB / 1.266 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3075, allocations: 322.8 kB / 1.267 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.3076, allocations: 23.97 kB / 1.267 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.3077, allocations: 46.56 kB / 1.267 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3079, allocations: 90.77 kB / 1.267 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3079, allocations: 0 / 1.267 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002472/0.3081, allocations: 109.5 kB / 1.267 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3082, allocations: 4 kB / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3082, allocations: 0 / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3082, allocations: 0 / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.3083, allocations: 12 kB / 1.267 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3083, allocations: 4.047 kB / 1.267 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.3083, allocations: 12 kB / 1.267 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3084, allocations: 4 kB / 1.267 GB, free: 7.527 MB / 0.9825 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.3085, allocations: 126.1 kB / 1.267 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.3085, allocations: 7.953 kB / 1.267 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.3085, allocations: 12.36 kB / 1.267 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3085, allocations: 0 / 1.267 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3085, allocations: 0 / 1.267 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.3086, allocations: 93 kB / 1.267 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3086, allocations: 0 / 1.267 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.3086, allocations: 11.92 kB / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3087, allocations: 4 kB / 1.267 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003089/0.309, allocations: 188.9 kB / 1.267 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003245/0.3093, allocations: 290.7 kB / 1.268 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.728e-05/0.3094, allocations: 23.98 kB / 1.268 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.3095, allocations: 99.2 kB / 1.268 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of Backend: time 2.21e-07/0.3095, allocations: 0 / 1.268 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006841/0.3101, allocations: 182.3 kB / 1.268 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005128/0.3107, allocations: 0.6098 MB / 1.269 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of Templates: time 0.004497/0.3152, allocations: 1.528 MB / 1.27 GB, free: 4.293 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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