Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 114.3 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.001248/0.001248, allocations: 199.2 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.396/1.396, allocations: 225.6 MB / 244.2 MB, free: 13.88 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.733/2.733, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 64.84 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002651/0.3261, allocations: 1.505 MB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3274, allocations: 0.7334 MB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.3275, allocations: 0 / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.3275, allocations: 3.938 kB / 1.264 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.3276, allocations: 15.86 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.3281, allocations: 123.6 kB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3282, allocations: 75.77 kB / 1.264 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.3283, allocations: 19.94 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.3284, allocations: 31.86 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.3284, allocations: 39.83 kB / 1.265 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3285, allocations: 8 kB / 1.265 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.3287, allocations: 107.8 kB / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.3287, allocations: 15.98 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.3287, allocations: 35.78 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.329, allocations: 139.5 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.329, allocations: 0 / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.329, allocations: 0 / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.329, allocations: 0 / 1.265 GB, free: 10.05 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.0006656/0.3297, allocations: 420.7 kB / 1.265 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3297, allocations: 8.625 kB / 1.265 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.3297, allocations: 12.88 kB / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3299, allocations: 172.3 kB / 1.265 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.3299, allocations: 8.375 kB / 1.265 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3299, allocations: 8.312 kB / 1.265 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3301, allocations: 65.97 kB / 1.265 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3301, allocations: 4 kB / 1.265 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3301, allocations: 8 kB / 1.265 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3301, allocations: 3.984 kB / 1.265 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3303, allocations: 35.97 kB / 1.266 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.3309, allocations: 312.7 kB / 1.266 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.331, allocations: 54.48 kB / 1.266 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.3311, allocations: 28.97 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3311, allocations: 4 kB / 1.266 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.3313, allocations: 75.38 kB / 1.266 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3313, allocations: 0 / 1.266 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004016/0.3317, allocations: 141.5 kB / 1.266 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3318, allocations: 55.47 kB / 1.266 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3319, allocations: 133.7 kB / 1.266 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3319, allocations: 29.7 kB / 1.266 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.332, allocations: 88.14 kB / 1.266 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.332, allocations: 23.83 kB / 1.266 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.332, allocations: 25.72 kB / 1.266 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3322, allocations: 326.8 kB / 1.267 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.3323, allocations: 23.98 kB / 1.267 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3324, allocations: 50.98 kB / 1.267 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3325, allocations: 66.81 kB / 1.267 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3325, allocations: 4 kB / 1.267 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/0.3328, allocations: 117.5 kB / 1.267 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3328, allocations: 10.03 kB / 1.267 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3328, allocations: 0 / 1.267 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3328, allocations: 0 / 1.267 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.3329, allocations: 11.98 kB / 1.267 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3329, allocations: 4 kB / 1.267 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.333, allocations: 15.98 kB / 1.267 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.333, allocations: 4.062 kB / 1.267 GB, free: 7.5 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.000104/0.3331, allocations: 128.7 kB / 1.267 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.3331, allocations: 3.953 kB / 1.267 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3331, allocations: 12.38 kB / 1.267 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3331, allocations: 3.984 kB / 1.267 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3332, allocations: 0 / 1.267 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.3332, allocations: 85.06 kB / 1.267 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3332, allocations: 0 / 1.267 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.3333, allocations: 15.88 kB / 1.267 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3333, allocations: 3.984 kB / 1.267 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003027/0.3336, allocations: 188.9 kB / 1.267 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003166/0.3339, allocations: 282.7 kB / 1.268 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001027/0.334, allocations: 31.97 kB / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.3341, allocations: 103.4 kB / 1.268 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of Backend: time 2.3e-07/0.3341, allocations: 0 / 1.268 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006845/0.3348, allocations: 174.8 kB / 1.268 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005252/0.3353, allocations: 0.6217 MB / 1.269 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of Templates: time 0.004607/0.3399, allocations: 1.514 MB / 1.27 GB, free: 4.266 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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