Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 112.4 kB / 16.42 MB, free: 6.516 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.001847/0.001847, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.88 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7065, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002392/0.7089, allocations: 1.496 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.71, allocations: 0.7304 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.7101, allocations: 0 / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.7101, allocations: 9.797 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.7102, allocations: 14.31 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.7107, allocations: 124.4 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.7108, allocations: 69.69 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.7109, allocations: 16.58 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.711, allocations: 31.48 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.7111, allocations: 43.95 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.7111, allocations: 7 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.7113, allocations: 94.97 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.7113, allocations: 19.02 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.7114, allocations: 30.91 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.7116, allocations: 141.1 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7116, allocations: 5.547 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7116, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.7117, allocations: 0.75 kB / 1.091 GB, free: 3.727 MB / 0.8575 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.0005197/0.7122, allocations: 427.8 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.7122, allocations: 9.062 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.7123, allocations: 8.594 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.91e-05/0.7124, allocations: 170.1 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.7124, allocations: 3.219 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.7124, allocations: 8.281 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.7126, allocations: 67.89 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7126, allocations: 1.062 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.7126, allocations: 0.7969 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7126, allocations: 9.875 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.7127, allocations: 34.84 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.7133, allocations: 319.3 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.7134, allocations: 45.72 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.7135, allocations: 36.2 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.7135, allocations: 0.7188 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.7137, allocations: 85.47 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.7137, allocations: 0 / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003753/0.714, allocations: 133.5 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.7141, allocations: 61.77 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.7142, allocations: 123.3 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.7142, allocations: 26.98 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.7142, allocations: 97 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.7142, allocations: 10.88 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.7143, allocations: 29.94 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.7143, allocations: 327.8 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.328e-05/0.7144, allocations: 30.61 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.7145, allocations: 50.88 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.7147, allocations: 67.42 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7147, allocations: 0.9375 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002279/0.7149, allocations: 116.1 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7149, allocations: 7.828 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.7149, allocations: 3.938 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.715, allocations: 0.7188 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7151, allocations: 11.53 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.7151, allocations: 1.875 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.7152, allocations: 16.55 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.7152, allocations: 3.766 kB / 1.094 GB, free: 1.738 MB / 0.8575 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 6.255e-05/0.7152, allocations: 124.3 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.7153, allocations: 7.547 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.7153, allocations: 14.73 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7153, allocations: 0.5156 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7153, allocations: 0.5625 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.7153, allocations: 84.62 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.7154, allocations: 1.609 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.7154, allocations: 7.344 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.7155, allocations: 12.84 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002662/0.7157, allocations: 189.7 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002621/0.716, allocations: 282.5 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.198e-05/0.7161, allocations: 34.2 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.7161, allocations: 95.84 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Backend: time 2.8e-07/0.7162, allocations: 0 / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006207/0.7168, allocations: 187.5 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003227/0.7171, allocations: 0.6236 MB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of Templates: time 0.004282/0.7214, allocations: 1.497 MB / 1.097 GB, free: 164 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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