Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") 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: 111.2 kB / 16.81 MB, free: 5.77 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.001279/0.001279, 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.406/1.406, 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.788/2.788, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 64.2 kB / 1.097 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 168.7 MB / 1.262 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002995/0.3085, allocations: 1.505 MB / 1.264 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3099, allocations: 0.7373 MB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.31, allocations: 0 / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.31, allocations: 3.938 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.3101, allocations: 7.875 kB / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.3107, allocations: 123.6 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.3109, allocations: 79.77 kB / 1.264 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.311, allocations: 7.984 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.3111, allocations: 35.86 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.3111, allocations: 47.81 kB / 1.265 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3112, allocations: 4 kB / 1.265 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.3114, allocations: 103.8 kB / 1.265 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.3114, allocations: 15.92 kB / 1.265 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.3115, allocations: 39.78 kB / 1.265 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.3118, allocations: 139.5 kB / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3118, allocations: 0 / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3118, allocations: 0 / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3118, allocations: 4 kB / 1.265 GB, free: 10.26 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.0007106/0.3125, allocations: 420.7 kB / 1.265 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3125, allocations: 8.031 kB / 1.265 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.3126, allocations: 12.89 kB / 1.265 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3127, allocations: 172.3 kB / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3128, allocations: 384 / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3128, allocations: 8.312 kB / 1.265 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.313, allocations: 77.97 kB / 1.265 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.313, allocations: 0 / 1.265 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.313, allocations: 3.984 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.313, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3132, allocations: 31.98 kB / 1.266 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.3139, allocations: 320.8 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.314, allocations: 50.5 kB / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.3141, allocations: 24.97 kB / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3141, allocations: 0 / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.3143, allocations: 83.33 kB / 1.266 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3143, allocations: 0 / 1.266 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004252/0.3148, allocations: 145.9 kB / 1.266 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.3148, allocations: 59.38 kB / 1.266 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3149, allocations: 125.7 kB / 1.266 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3149, allocations: 25.7 kB / 1.266 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.315, allocations: 100.1 kB / 1.266 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.315, allocations: 11.84 kB / 1.266 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.3151, allocations: 29.7 kB / 1.266 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3153, allocations: 326.8 kB / 1.267 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.3153, allocations: 27.97 kB / 1.267 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3155, allocations: 46.56 kB / 1.267 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3156, allocations: 74.48 kB / 1.267 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3156, allocations: 4 kB / 1.267 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002488/0.3159, allocations: 109.5 kB / 1.267 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3159, allocations: 4 kB / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3159, allocations: 0 / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3159, allocations: 4 kB / 1.267 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.316, allocations: 8 kB / 1.267 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.316, allocations: 3.984 kB / 1.267 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.3161, allocations: 11.94 kB / 1.267 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3161, allocations: 12.06 kB / 1.267 GB, free: 7.715 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.0001037/0.3162, allocations: 121.7 kB / 1.267 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.3162, allocations: 7.953 kB / 1.267 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.3163, allocations: 12.36 kB / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3163, allocations: 0 / 1.267 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3163, allocations: 4 kB / 1.267 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3163, allocations: 81.06 kB / 1.267 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3163, allocations: 0 / 1.267 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.3164, allocations: 15.92 kB / 1.267 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3164, allocations: 11.94 kB / 1.267 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003426/0.3168, allocations: 192.9 kB / 1.267 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003226/0.3171, allocations: 282.7 kB / 1.268 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.22e-05/0.3172, allocations: 35.97 kB / 1.268 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.3173, allocations: 91.27 kB / 1.268 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of Backend: time 2.01e-07/0.3173, allocations: 0 / 1.268 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007063/0.318, allocations: 182.7 kB / 1.268 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005249/0.3185, allocations: 0.6139 MB / 1.269 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.004585/0.3231, allocations: 1.511 MB / 1.27 GB, free: 4.484 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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