Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 92.23 kB / 16.02 MB, free: 80 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.0009812/0.0009813, allocations: 178.1 kB / 16.92 MB, free: 6.648 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.6/2.6, allocations: 443.2 MB / 0.7181 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 15.05 kB / 0.8801 GB, free: 42.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2844, allocations: 155.1 MB / 1.032 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00177/0.2862, allocations: 1.23 MB / 1.033 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2876, allocations: 0.7483 MB / 1.034 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.2876, allocations: 3.938 kB / 1.034 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2877, allocations: 0 / 1.034 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.2877, allocations: 23.84 kB / 1.034 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.2883, allocations: 115.8 kB / 1.034 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2884, allocations: 91.75 kB / 1.034 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.2885, allocations: 15.92 kB / 1.034 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.2886, allocations: 35.86 kB / 1.034 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.2887, allocations: 55.8 kB / 1.034 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2888, allocations: 4 kB / 1.034 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.289, allocations: 95.84 kB / 1.034 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.289, allocations: 19.92 kB / 1.034 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.2891, allocations: 69.47 kB / 1.034 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2893, allocations: 112 kB / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2893, allocations: 0 / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2893, allocations: 0 / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2893, allocations: 0 / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006305/0.2899, allocations: 450.7 kB / 1.035 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.29, allocations: 8.031 kB / 1.035 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.29, allocations: 12.83 kB / 1.035 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2901, allocations: 168.3 kB / 1.035 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.2902, allocations: 8.375 kB / 1.035 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.2902, allocations: 8.359 kB / 1.035 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.2905, allocations: 97.89 kB / 1.035 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2905, allocations: 0 / 1.035 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2905, allocations: 0 / 1.035 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2905, allocations: 3.984 kB / 1.035 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2907, allocations: 51.97 kB / 1.035 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.2915, allocations: 348.7 kB / 1.035 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.2916, allocations: 58.59 kB / 1.035 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.2918, allocations: 52.83 kB / 1.035 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2918, allocations: 0 / 1.035 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.2921, allocations: 99.3 kB / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.2921, allocations: 0 / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000547/0.2926, allocations: 197.4 kB / 1.036 GB, free: 408 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2927, allocations: 51.41 kB / 1.036 GB, free: 344 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2928, allocations: 132.7 kB / 1.036 GB, free: 204 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2928, allocations: 29.7 kB / 1.036 GB, free: 168 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.2929, allocations: 96.28 kB / 1.036 GB, free: 68 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.2929, allocations: 11.81 kB / 1.036 GB, free: 56 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.2929, allocations: 29.7 kB / 1.036 GB, free: 20 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2931, allocations: 322.8 kB / 1.036 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.2932, allocations: 27.98 kB / 1.036 GB, free: 15.67 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.2933, allocations: 72.2 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.2935, allocations: 100.2 kB / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2935, allocations: 0 / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002706/0.2938, allocations: 141.4 kB / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2938, allocations: 4 kB / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2938, allocations: 0 / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2938, allocations: 4 kB / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.294, allocations: 19.92 kB / 1.037 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.294, allocations: 0 / 1.037 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.2941, allocations: 20.02 kB / 1.037 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.2941, allocations: 8.062 kB / 1.037 GB, free: 15.27 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.394e-05/0.2942, allocations: 119.3 kB / 1.037 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.2942, allocations: 11.91 kB / 1.037 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.2942, allocations: 12.38 kB / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2943, allocations: 0 / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2943, allocations: 0 / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2943, allocations: 3.984 kB / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.2949, allocations: 438.3 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2949, allocations: 0 / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.2949, allocations: 4 kB / 1.037 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2949, allocations: 4 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2949, allocations: 3.984 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.295, allocations: 4 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.295, allocations: 3.984 kB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.2954, allocations: 251.7 kB / 1.038 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.2954, allocations: 92.89 kB / 1.038 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2954, allocations: 8 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2956, allocations: 7.984 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2956, allocations: 7.938 kB / 1.038 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2956, allocations: 7.984 kB / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.2957, allocations: 106.5 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2957, allocations: 0 / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000319/0.296, allocations: 36 kB / 1.038 GB, free: 14.07 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003649/0.2964, allocations: 162.9 kB / 1.038 GB, free: 13.92 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.2967, allocations: 95.89 kB / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2967, allocations: 192 / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.2969, allocations: 55.91 kB / 1.038 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2972, allocations: 11 kB / 1.038 GB, free: 13.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.2976, allocations: 262.6 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2979, allocations: 0.6897 MB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.2979, allocations: 11.44 kB / 1.039 GB, free: 12.74 MB / 0.795 GB Notification: Performance of SimCode: time 1.573e-06/0.298, allocations: 0 / 1.039 GB, free: 12.74 MB / 0.795 GB Notification: Performance of Templates: time 0.003702/0.3017, allocations: 1.787 MB / 1.041 GB, free: 10.96 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches