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.001462/0.001462, allocations: 100.1 kB / 15.88 MB, free: 12 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.001794/0.001794, allocations: 199.4 kB / 16.79 MB, free: 6.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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.28 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2878, allocations: 157.4 MB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003118/0.291, allocations: 1.576 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2924, allocations: 0.7595 MB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.2925, allocations: 11.88 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.2926, allocations: 7.922 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.2926, allocations: 7.938 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.2932, allocations: 111.8 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2933, allocations: 99.75 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.2934, allocations: 7.984 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2935, allocations: 51.83 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.2936, allocations: 47.83 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2937, allocations: 4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.2939, allocations: 91.84 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.2939, allocations: 23.95 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.294, allocations: 35.8 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.2942, allocations: 120 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2942, allocations: 8 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2942, allocations: 0 / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2942, allocations: 0 / 1.056 GB, free: 5.402 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007197/0.2949, allocations: 446.7 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.295, allocations: 11.97 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.295, allocations: 8.844 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2952, allocations: 184.2 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2952, allocations: 8.375 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2952, allocations: 8.312 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2955, allocations: 93.94 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2955, allocations: 0 / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2955, allocations: 3.984 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2956, allocations: 4 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.2957, allocations: 47.91 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.2965, allocations: 348.6 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2967, allocations: 58.55 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2968, allocations: 40.84 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2969, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.2971, allocations: 103.4 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2971, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000542/0.2977, allocations: 181.7 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2977, allocations: 55.41 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2978, allocations: 121.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2979, allocations: 33.64 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.2979, allocations: 96.14 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.298, allocations: 19.7 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.298, allocations: 29.7 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2981, allocations: 326.8 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.2982, allocations: 31.92 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2983, allocations: 63.03 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2985, allocations: 96.2 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2985, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002757/0.2988, allocations: 141.5 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2988, allocations: 4 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2989, allocations: 4 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2989, allocations: 0 / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.299, allocations: 15.98 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.299, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.2991, allocations: 7.938 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2991, allocations: 8 kB / 1.058 GB, free: 2.59 MB / 0.8106 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 0.0001149/0.2992, allocations: 135.5 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2993, allocations: 7.906 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.2993, allocations: 8.375 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2993, allocations: 0 / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2993, allocations: 7.938 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2993, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2999, allocations: 422.7 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.2999, allocations: 11.98 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.3, allocations: 3.938 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3, allocations: 4 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3, allocations: 0 / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3, allocations: 3.984 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3, allocations: 3.938 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.3004, allocations: 239.4 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.3005, allocations: 85.02 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3005, allocations: 4 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3006, allocations: 11.98 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3007, allocations: 3.938 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3007, allocations: 7.984 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.3008, allocations: 95.27 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3008, allocations: 0 / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000308/0.3011, allocations: 39.94 kB / 1.059 GB, free: 1.418 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: 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.000365/0.3014, allocations: 174.2 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.3017, allocations: 91.86 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3018, allocations: 4 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3019, allocations: 44.17 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3022, allocations: 11.98 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.3027, allocations: 243.4 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3029, allocations: 0.6926 MB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.303, allocations: 19.42 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of SimCode: time 3.9e-07/0.303, allocations: 0 / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of Templates: time 0.003723/0.3067, allocations: 1.777 MB / 1.062 GB, free: 14.32 MB / 0.8262 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