Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Zhang2012WindowsSouth,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.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_latest_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.00111/0.00111, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009384/0.009384, allocations: 170 kB / 16.26 MB, free: 6.613 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 13.66 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3821, allocations: 159.6 MB / 1.059 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002112/0.3843, allocations: 1.209 MB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3858, allocations: 0.7323 MB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3859, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.3859, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.386, allocations: 23.8 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.3866, allocations: 99.77 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3867, allocations: 67.84 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.3868, allocations: 11.98 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3869, allocations: 31.89 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.387, allocations: 35.78 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.387, allocations: 8 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.3873, allocations: 91.84 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.3873, allocations: 19.91 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.3874, allocations: 53.56 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3877, allocations: 135.9 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3877, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3877, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3877, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 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.0007892/0.3885, allocations: 409.1 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3885, allocations: 8.031 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3886, allocations: 8.844 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3887, allocations: 176.2 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.3888, allocations: 4.375 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3888, allocations: 8.359 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.389, allocations: 73.97 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3891, allocations: 0 / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3891, allocations: 4 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3891, allocations: 0 / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3893, allocations: 47.95 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.3899, allocations: 324.6 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3901, allocations: 46.56 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.3902, allocations: 40.91 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3902, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.3904, allocations: 83.38 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3905, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.3909, allocations: 145.6 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.391, allocations: 63.39 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3911, allocations: 125.7 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3911, allocations: 29.7 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.3912, allocations: 88.12 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3912, allocations: 19.75 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3913, allocations: 17.72 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3914, allocations: 322.8 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.3915, allocations: 31.98 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3916, allocations: 54.55 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3918, allocations: 78.5 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3918, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002704/0.3921, allocations: 121.8 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3921, allocations: 4 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3922, allocations: 80 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3922, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3923, allocations: 27.92 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3923, allocations: 3.984 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.3924, allocations: 11.98 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.3924, allocations: 4 kB / 1.063 GB, free: 328 kB / 0.8106 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.0001234/0.3925, allocations: 120.4 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.3926, allocations: 7.906 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.3926, allocations: 16.31 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3926, allocations: 4 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3926, allocations: 3.984 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3926, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.3932, allocations: 390.4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3932, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3933, allocations: 4 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3933, allocations: 4 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3933, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3933, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3933, allocations: 3.938 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.3937, allocations: 219.3 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3938, allocations: 89.02 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3938, allocations: 8 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3939, allocations: 7.984 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.3939, allocations: 7.938 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.394, allocations: 7.969 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.394, allocations: 95.27 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.394, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003386/0.3944, allocations: 36 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004715/0.3949, allocations: 164 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3951, allocations: 75.89 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3951, allocations: 4.125 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.3953, allocations: 35.98 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3956, allocations: 4 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.3961, allocations: 213.1 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3964, allocations: 0.6887 MB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.3964, allocations: 4 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3964, allocations: 11.42 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 5.52e-07/0.3964, allocations: 0 / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004635/0.4011, allocations: 1.364 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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