Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.677/2.677, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003497, allocations: 8.156 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001706/0.2897, allocations: 1.233 MB / 1.061 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.291, allocations: 0.7168 MB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.2911, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.2911, allocations: 7.922 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.2912, allocations: 11.86 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.2917, allocations: 107.8 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2918, allocations: 63.84 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.2919, allocations: 15.98 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.292, allocations: 27.91 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.2921, allocations: 35.78 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2921, allocations: 4 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.2923, allocations: 87.91 kB / 1.062 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.2923, allocations: 15.92 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.2924, allocations: 61.55 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2926, allocations: 92.05 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2926, allocations: 0 / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2926, allocations: 4 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2926, allocations: 0 / 1.062 GB, free: 2.512 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.0005618/0.2932, allocations: 401.1 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2932, allocations: 11.97 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.2933, allocations: 16.84 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2934, allocations: 188.1 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2934, allocations: 384 / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.2934, allocations: 4.375 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2936, allocations: 81.91 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2936, allocations: 0 / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2937, allocations: 0 / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2937, allocations: 3.984 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.2938, allocations: 47.97 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.2944, allocations: 320.6 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2946, allocations: 54.55 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.2947, allocations: 36.97 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2947, allocations: 0 / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.2949, allocations: 91.42 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2949, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.2953, allocations: 141.6 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2954, allocations: 51.41 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/0.2955, allocations: 125.7 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2955, allocations: 33.7 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.2955, allocations: 88.14 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2956, allocations: 23.73 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.2956, allocations: 17.72 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2957, allocations: 322.8 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.2958, allocations: 27.98 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.2959, allocations: 50.56 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2961, allocations: 82.42 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2961, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002688/0.2964, allocations: 125.5 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2964, allocations: 8 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2964, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2964, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.2965, allocations: 19.92 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2965, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.2966, allocations: 12.06 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2966, allocations: 4 kB / 1.064 GB, free: 15.92 MB / 0.8262 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.662e-05/0.2967, allocations: 121.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.2968, allocations: 7.906 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.2968, allocations: 8.375 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2968, allocations: 4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2968, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2968, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.2973, allocations: 390.3 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2973, allocations: 8 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.2973, allocations: 7.984 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2973, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2974, allocations: 4 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2974, allocations: 3.938 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2974, allocations: 7.938 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.2977, allocations: 215.3 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.2977, allocations: 85.02 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2977, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.2978, allocations: 12 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2979, allocations: 11.92 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.2979, allocations: 0 / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.111e-05/0.298, allocations: 95.92 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.298, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002945/0.2983, allocations: 39.98 kB / 1.065 GB, free: 14.82 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.0003399/0.2986, allocations: 166.4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.2989, allocations: 75.91 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2989, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.299, allocations: 31.98 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2992, allocations: 16.11 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.2996, allocations: 238.8 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2999, allocations: 0.6887 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.2999, allocations: 11.44 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2999, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.003458/0.3034, allocations: 1.594 MB / 1.068 GB, free: 11.95 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches