Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 104.3 kB / 15.99 MB, free: 6.355 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.001709/0.00171, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 66.88 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2836, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003363/0.287, allocations: 1.644 MB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2885, allocations: 0.7713 MB / 0.9521 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.2886, allocations: 4 kB / 0.9521 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.996e-05/0.2887, allocations: 7.922 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.2888, allocations: 11.86 kB / 0.9521 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.2895, allocations: 135.7 kB / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.2897, allocations: 143.5 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2898, allocations: 19.98 kB / 0.9524 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2899, allocations: 59.88 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2901, allocations: 71.73 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.2901, allocations: 12 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.2903, allocations: 99.84 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.2904, allocations: 31.89 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.2905, allocations: 59.72 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.2907, allocations: 140 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2907, allocations: 0 / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2908, allocations: 0 / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2908, allocations: 0 / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000887/0.2917, allocations: 474.5 kB / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2917, allocations: 16.03 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.2918, allocations: 12.75 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.292, allocations: 190.6 kB / 0.9535 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.292, allocations: 4.375 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.2921, allocations: 12.11 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.2924, allocations: 101.6 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2924, allocations: 3.938 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2924, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2924, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.2926, allocations: 67.95 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000934/0.2936, allocations: 364.6 kB / 0.9541 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2938, allocations: 70.55 kB / 0.9541 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2939, allocations: 56.77 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2939, allocations: 4 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.2942, allocations: 99.34 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.454e-06/0.2942, allocations: 0 / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006326/0.2949, allocations: 217.7 kB / 0.9545 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.295, allocations: 55.5 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.2951, allocations: 147.5 kB / 0.9547 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2951, allocations: 29.7 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.2952, allocations: 100.5 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.2953, allocations: 27.62 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.2953, allocations: 41.7 kB / 0.9549 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2954, allocations: 318.8 kB / 0.9552 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2956, allocations: 35.98 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2957, allocations: 87.19 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.296, allocations: 112.3 kB / 0.9554 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.296, allocations: 3.938 kB / 0.9554 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003691/0.2963, allocations: 153.5 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2964, allocations: 11.94 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2964, allocations: 0 / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2964, allocations: 0 / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2966, allocations: 19.98 kB / 0.9556 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2966, allocations: 3.938 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2967, allocations: 19.89 kB / 0.9556 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.2967, allocations: 4 kB / 0.9556 GB, free: 2.957 MB / 0.7325 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.000116/0.2968, allocations: 125.8 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.2969, allocations: 11.91 kB / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.2969, allocations: 12.7 kB / 0.9558 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2969, allocations: 0 / 0.9558 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2969, allocations: 7.938 kB / 0.9558 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2969, allocations: 0 / 0.9558 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.2976, allocations: 454.3 kB / 0.9562 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2976, allocations: 4 kB / 0.9562 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.2976, allocations: 11.98 kB / 0.9562 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2977, allocations: 3.938 kB / 0.9562 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2977, allocations: 0 / 0.9562 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2977, allocations: 4 kB / 0.9562 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2977, allocations: 0 / 0.9562 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.2981, allocations: 267.3 kB / 0.9565 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.2982, allocations: 100.9 kB / 0.9566 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2982, allocations: 0 / 0.9566 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2984, allocations: 15.98 kB / 0.9566 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.2984, allocations: 0 / 0.9566 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.2984, allocations: 7.984 kB / 0.9566 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.2985, allocations: 103.3 kB / 0.9567 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2985, allocations: 0 / 0.9567 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003663/0.2989, allocations: 47.98 kB / 0.9568 GB, free: 1.703 MB / 0.7325 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0003958/0.2993, allocations: 177.3 kB / 0.9569 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.2997, allocations: 107.9 kB / 0.957 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2997, allocations: 4 kB / 0.957 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2998, allocations: 64.09 kB / 0.9571 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3001, allocations: 13.52 kB / 0.9571 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.3007, allocations: 282.3 kB / 0.9574 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.301, allocations: 0.7 MB / 0.9581 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.3011, allocations: 19.38 kB / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.3011, allocations: 0 / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of Templates: time 0.004129/0.3052, allocations: 2.043 MB / 0.9601 GB, free: 14.25 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches