Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006211/0.006211, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001245/0.001245, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.16 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.298, allocations: 157.4 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002758/0.3008, allocations: 1.556 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.302, allocations: 0.74 MB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.3021, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.3021, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.919e-05/0.3022, allocations: 19.84 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3028, allocations: 103.8 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3029, allocations: 63.84 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.628e-05/0.303, allocations: 19.97 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.3031, allocations: 31.84 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.3031, allocations: 31.91 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3032, allocations: 4 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3034, allocations: 95.84 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.3034, allocations: 19.91 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.3035, allocations: 27.86 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3036, allocations: 100 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3036, allocations: 0 / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3037, allocations: 0 / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3037, allocations: 0 / 1.055 GB, free: 5.395 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.0006701/0.3043, allocations: 425 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3044, allocations: 15.91 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3044, allocations: 12.84 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3046, allocations: 180.2 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3046, allocations: 384 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3046, allocations: 4.375 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3048, allocations: 73.97 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3048, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3048, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3049, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.305, allocations: 35.97 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.3056, allocations: 316.8 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3057, allocations: 50.48 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.3058, allocations: 32.97 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3059, allocations: 4.078 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.306, allocations: 83.36 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3061, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000397/0.3065, allocations: 137.5 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3065, allocations: 51.41 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3066, allocations: 129.8 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3066, allocations: 25.7 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.3067, allocations: 88.14 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3067, allocations: 19.75 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.3068, allocations: 33.64 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3069, allocations: 322.8 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.307, allocations: 23.98 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.3071, allocations: 54.53 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3072, allocations: 70.5 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3073, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002426/0.3075, allocations: 113.5 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3075, allocations: 8.062 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3075, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3076, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.3077, allocations: 11.98 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3077, allocations: 400 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.3077, allocations: 11.89 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3078, allocations: 11.94 kB / 1.058 GB, free: 2.84 MB / 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 9.223e-05/0.3079, allocations: 117.8 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.3079, allocations: 8 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.3079, allocations: 8.375 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3079, allocations: 4 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3079, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.3079, allocations: 3.984 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3084, allocations: 390.2 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3084, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3085, allocations: 7.984 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3085, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3085, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3085, allocations: 4 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3085, allocations: 3.938 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3088, allocations: 207.4 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.3088, allocations: 89.03 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3089, allocations: 0 / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.309, allocations: 11.98 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.309, allocations: 11.88 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.309, allocations: 8 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.3091, allocations: 91.92 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3091, allocations: 0 / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002838/0.3094, allocations: 39.98 kB / 1.059 GB, free: 1.75 MB / 0.8106 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.0003141/0.3097, allocations: 157.8 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3099, allocations: 75.89 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.31, allocations: 3.938 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.3101, allocations: 35.97 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3103, allocations: 8 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.3107, allocations: 223.8 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.311, allocations: 0.6887 MB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.311, allocations: 15.42 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.311, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of Templates: time 0.003338/0.3144, allocations: 1.608 MB / 1.061 GB, free: 14.9 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches