Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006245/0.006245, allocations: 101.2 kB / 15.88 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.001398/0.001398, allocations: 193.5 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.335/1.335, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 61.44 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2783, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002963/0.2813, allocations: 1.558 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2827, allocations: 0.7439 MB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.2828, allocations: 0 / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.2828, allocations: 7.938 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.2829, allocations: 7.922 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.2835, allocations: 103.8 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2836, allocations: 63.84 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2837, allocations: 12 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.2838, allocations: 39.77 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.2839, allocations: 31.91 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2839, allocations: 8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2841, allocations: 83.91 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.2842, allocations: 19.91 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.2842, allocations: 31.8 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2844, allocations: 108 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2844, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2844, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2845, allocations: 0 / 1.055 GB, free: 5.465 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.0007159/0.2852, allocations: 421 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.2852, allocations: 11.97 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.2853, allocations: 8.844 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2854, allocations: 176.2 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.2855, allocations: 12.31 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2855, allocations: 4.375 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.2857, allocations: 65.97 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2857, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2857, allocations: 4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2858, allocations: 4 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2859, allocations: 43.91 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/0.2866, allocations: 312.8 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2867, allocations: 54.55 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.2868, allocations: 32.95 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2868, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.287, allocations: 79.31 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2871, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003976/0.2875, allocations: 137.5 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2875, allocations: 55.41 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2876, allocations: 125.8 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2877, allocations: 29.7 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.2877, allocations: 88.14 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.2877, allocations: 23.81 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.2878, allocations: 25.7 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2879, allocations: 326.7 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.288, allocations: 35.92 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.2881, allocations: 46.55 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2883, allocations: 66.56 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2883, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002674/0.2886, allocations: 121.8 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2886, allocations: 4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.2886, allocations: 4 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2886, allocations: 0 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2887, allocations: 15.92 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2887, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.2888, allocations: 7.906 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2888, allocations: 7.984 kB / 1.058 GB, free: 2.914 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.311e-05/0.2889, allocations: 125.8 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.289, allocations: 4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.289, allocations: 8.375 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.289, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.289, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.289, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.2895, allocations: 390.2 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2895, allocations: 4 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.2896, allocations: 7.984 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2896, allocations: 3.938 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2896, allocations: 8 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2896, allocations: 0 / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2896, allocations: 3.938 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.2899, allocations: 211.3 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.29, allocations: 85.11 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.29, allocations: 0 / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.2901, allocations: 7.938 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2901, allocations: 11.92 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2901, allocations: 0 / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.2902, allocations: 95.27 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2902, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002943/0.2905, allocations: 35.98 kB / 1.059 GB, free: 1.832 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.0003444/0.2909, allocations: 167.4 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.2911, allocations: 71.89 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2911, allocations: 0 / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2912, allocations: 39.91 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2915, allocations: 17 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.292, allocations: 223.7 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2922, allocations: 0.6865 MB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.2923, allocations: 15.42 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2923, allocations: 0 / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of Templates: time 0.00352/0.2958, allocations: 1.597 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches