Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 105.9 kB / 15.99 MB, free: 6.359 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.001259/0.001259, allocations: 199.5 kB / 16.91 MB, free: 6.199 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 66.92 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2851, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00275/0.2879, allocations: 1.564 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2892, allocations: 0.7324 MB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.2892, allocations: 3.938 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.2893, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.2893, allocations: 11.86 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.2898, allocations: 107.8 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2899, allocations: 79.83 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.29, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2901, allocations: 39.89 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.2902, allocations: 39.84 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2902, allocations: 4 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2904, allocations: 95.84 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2904, allocations: 19.92 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.2905, allocations: 39.84 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2906, allocations: 96.05 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2907, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2907, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2907, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 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.000665/0.2913, allocations: 413 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2914, allocations: 12.62 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.2914, allocations: 12.78 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2916, allocations: 184.1 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2916, allocations: 4.375 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2916, allocations: 8.375 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2918, allocations: 69.97 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2918, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2919, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2919, allocations: 3.938 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.292, allocations: 35.97 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.2926, allocations: 316.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2928, allocations: 50.48 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.2929, allocations: 32.97 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2929, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.2931, allocations: 83.44 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2931, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004188/0.2936, allocations: 133.5 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.2936, allocations: 59.41 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2937, allocations: 121.8 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2938, allocations: 29.7 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.2939, allocations: 92.05 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2939, allocations: 19.75 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.2939, allocations: 29.7 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2941, allocations: 326.8 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.2942, allocations: 19.98 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.2943, allocations: 59.34 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.2945, allocations: 83.36 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2945, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002519/0.2948, allocations: 109.6 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2948, allocations: 7.938 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2948, allocations: 4.062 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2948, allocations: 4 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.2949, allocations: 15.98 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2949, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.295, allocations: 7.906 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.295, allocations: 4 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 0.000105/0.2951, allocations: 128 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.2952, allocations: 7.844 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.2952, allocations: 16.38 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2952, allocations: 64 / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2952, allocations: 4 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2952, allocations: 4.031 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.2957, allocations: 386.7 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2957, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.2958, allocations: 7.984 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2958, allocations: 0 / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2958, allocations: 8 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.2958, allocations: 3.938 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2958, allocations: 3.938 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.2961, allocations: 203.4 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.2962, allocations: 96.94 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2962, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.2963, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.2964, allocations: 15.92 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.2964, allocations: 0 / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.2964, allocations: 91.27 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.164e-06/0.2964, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003057/0.2967, allocations: 39.94 kB / 1.07 GB, free: 8.609 MB / 0.8419 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,occ.y,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.0003514/0.2971, allocations: 161.2 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2974, allocations: 75.83 kB / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2974, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2975, allocations: 35.97 kB / 1.07 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2977, allocations: 8 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.2982, allocations: 214.3 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2985, allocations: 0.6885 MB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.2985, allocations: 11.44 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of SimCode: time 1.984e-06/0.2985, allocations: 3.938 kB / 1.071 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of Templates: time 0.00362/0.3022, allocations: 1.627 MB / 1.073 GB, free: 5.742 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches