Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001495/0.001495, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001273/0.001273, allocations: 193.4 kB / 17.31 MB, free: 5.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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.451/2.451, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 59.88 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2944, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002659/0.2971, allocations: 1.507 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2984, allocations: 0.7337 MB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.2984, allocations: 0 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.2985, allocations: 3.938 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.2985, allocations: 7.875 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.299, allocations: 123.6 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2991, allocations: 87.69 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.2992, allocations: 12 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.2993, allocations: 31.91 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.2994, allocations: 35.89 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.2994, allocations: 8 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.2996, allocations: 99.84 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.2996, allocations: 15.92 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.2997, allocations: 27.86 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2999, allocations: 147.6 kB / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2999, allocations: 0 / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2999, allocations: 4 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2999, allocations: 0 / 1.022 GB, free: 7 MB / 0.795 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.0006022/0.3005, allocations: 420.9 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3006, allocations: 8.031 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.3006, allocations: 12.78 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3007, allocations: 176.2 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3008, allocations: 8.359 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3008, allocations: 8.375 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.301, allocations: 69.97 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.301, allocations: 4 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.301, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.301, allocations: 4 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3012, allocations: 35.97 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.3018, allocations: 320.7 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.302, allocations: 46.56 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.302, allocations: 32.97 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3021, allocations: 8 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3023, allocations: 71.38 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3023, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/0.3026, allocations: 145.5 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3027, allocations: 51.41 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.3028, allocations: 117.8 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3028, allocations: 25.7 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.3029, allocations: 96.12 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.3029, allocations: 19.81 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.303, allocations: 33.7 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3031, allocations: 326.7 kB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.3032, allocations: 27.98 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.3033, allocations: 42.56 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3034, allocations: 78.8 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3034, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002326/0.3037, allocations: 113.5 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3037, allocations: 4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3037, allocations: 4 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3037, allocations: 0 / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.3038, allocations: 15.98 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3038, allocations: 3.938 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.3039, allocations: 11.97 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3039, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 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.0001009/0.304, allocations: 122.9 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.304, allocations: 4 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.3041, allocations: 12.38 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3041, allocations: 0 / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3041, allocations: 0 / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3041, allocations: 0 / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.3046, allocations: 394.2 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3046, allocations: 7.922 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.3046, allocations: 7.984 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3046, allocations: 0 / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3047, allocations: 4 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3047, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3047, allocations: 3.938 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.305, allocations: 207.4 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.305, allocations: 85.09 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.305, allocations: 8 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.3051, allocations: 7.938 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3052, allocations: 11.92 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3052, allocations: 0 / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.3052, allocations: 91.27 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3053, allocations: 0 / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003021/0.3056, allocations: 40 kB / 1.025 GB, free: 3.363 MB / 0.795 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.0003221/0.3059, allocations: 164.1 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3061, allocations: 71.89 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3062, allocations: 4.125 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.3063, allocations: 35.92 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3065, allocations: 8.531 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.3069, allocations: 180.3 kB / 1.025 GB, free: 2.887 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.3071, allocations: 0.6885 MB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.621e-05/0.3072, allocations: 8 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.3072, allocations: 15.42 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.3072, allocations: 0 / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of Templates: time 0.003916/0.3112, allocations: 1.447 MB / 1.027 GB, free: 0.707 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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