Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Zhang2012WindowsAll,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.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_latest_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.001681/0.001681, allocations: 112.5 kB / 16.42 MB, free: 5.926 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.001862/0.001862, allocations: 189.9 kB / 17.35 MB, free: 5.559 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.627/2.627, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 1.07 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6847, allocations: 159.9 MB / 1.226 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002315/0.687, allocations: 1.502 MB / 1.228 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.6882, allocations: 0.7257 MB / 1.229 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.6882, allocations: 0 / 1.229 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.6883, allocations: 7.875 kB / 1.229 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.6883, allocations: 7.875 kB / 1.229 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.6888, allocations: 119.6 kB / 1.229 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.6889, allocations: 83.81 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.689, allocations: 7.953 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.6891, allocations: 35.86 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.6892, allocations: 47.81 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.6892, allocations: 8 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.6894, allocations: 91.91 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.6894, allocations: 15.92 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.6895, allocations: 31.86 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.6897, allocations: 144.5 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6897, allocations: 3.938 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6897, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6898, allocations: 0 / 1.229 GB, free: 10.86 MB / 0.9512 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.0005732/0.6903, allocations: 424.8 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6904, allocations: 8.031 kB / 1.229 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.6904, allocations: 8.891 kB / 1.23 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.6905, allocations: 172.3 kB / 1.23 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.6906, allocations: 8.375 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.6906, allocations: 384 / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.6908, allocations: 77.84 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6908, allocations: 7.969 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.6908, allocations: 8 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6908, allocations: 4 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.691, allocations: 35.97 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.6915, allocations: 312.8 kB / 1.23 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.6917, allocations: 50.5 kB / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.6918, allocations: 36.97 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.6918, allocations: 4.062 kB / 1.23 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.692, allocations: 75.38 kB / 1.23 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.692, allocations: 0 / 1.23 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003846/0.6924, allocations: 141.6 kB / 1.23 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6924, allocations: 59.33 kB / 1.23 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.6925, allocations: 129.7 kB / 1.231 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6925, allocations: 29.7 kB / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.6926, allocations: 92.12 kB / 1.231 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.6926, allocations: 15.89 kB / 1.231 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.6926, allocations: 29.7 kB / 1.231 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.6927, allocations: 318.8 kB / 1.231 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.6928, allocations: 35.97 kB / 1.231 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.6929, allocations: 42.56 kB / 1.231 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.6931, allocations: 74.48 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6931, allocations: 0 / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002329/0.6933, allocations: 117.5 kB / 1.231 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6934, allocations: 4 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6934, allocations: 7.938 kB / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.6934, allocations: 0 / 1.231 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.6935, allocations: 11.98 kB / 1.231 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6935, allocations: 0 / 1.231 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.6936, allocations: 4 kB / 1.231 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.6936, allocations: 4 kB / 1.231 GB, free: 8.312 MB / 0.9512 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 8.392e-05/0.6937, allocations: 134.2 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.6937, allocations: 7.953 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.6937, allocations: 12.3 kB / 1.231 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6938, allocations: 4 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.6938, allocations: 0 / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.6938, allocations: 81.06 kB / 1.232 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.6938, allocations: 4 kB / 1.232 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.6939, allocations: 11.92 kB / 1.232 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.6939, allocations: 8 kB / 1.232 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002823/0.6942, allocations: 188.9 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002777/0.6945, allocations: 282.7 kB / 1.232 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.514e-05/0.6946, allocations: 32.53 kB / 1.232 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.6947, allocations: 99.27 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of Backend: time 2.41e-07/0.6947, allocations: 0 / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.6953, allocations: 186.6 kB / 1.232 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000415/0.6957, allocations: 0.6293 MB / 1.233 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of Templates: time 0.003919/0.6996, allocations: 1.499 MB / 1.234 GB, free: 5.066 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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