Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9729/0.9729, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.875/1.875, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.181e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.005658/0.00569, allocations: 1.633 MB / 0.7887 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.007038, allocations: 0.8477 MB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.00712, allocations: 4.562 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.007155, allocations: 12.64 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.007224, allocations: 17.33 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.01095, allocations: 179.3 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.01112, allocations: 143.5 kB / 0.7899 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.01122, allocations: 20.84 kB / 0.7899 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.0114, allocations: 83.84 kB / 0.79 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.01149, allocations: 63.84 kB / 0.79 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.01152, allocations: 12 kB / 0.79 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.01178, allocations: 139.7 kB / 0.7902 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.01181, allocations: 31.89 kB / 0.7902 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.01186, allocations: 39.89 kB / 0.7902 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.01215, allocations: 199.4 kB / 0.7904 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01215, allocations: 0.9062 kB / 0.7904 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01215, allocations: 0 / 0.7904 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.01216, allocations: 0.5938 kB / 0.7904 GB, free: 9.41 MB / 0.7448 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.0006104/0.01277, allocations: 0.5045 MB / 0.7909 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.0128, allocations: 8.031 kB / 0.7909 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.01628, allocations: 75.55 kB / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.01649, allocations: 154.4 kB / 0.7911 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.01651, allocations: 8.375 kB / 0.7912 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.01653, allocations: 9.891 kB / 0.7912 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.01673, allocations: 90.89 kB / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.01674, allocations: 192 / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.01675, allocations: 384 / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01676, allocations: 5.406 kB / 0.7913 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.01682, allocations: 23.98 kB / 0.7913 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.0174, allocations: 336.2 kB / 0.7916 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.01749, allocations: 49.06 kB / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.01754, allocations: 19.69 kB / 0.7917 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.01756, allocations: 7.938 kB / 0.7917 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.01769, allocations: 92.84 kB / 0.7918 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.01769, allocations: 0.5312 kB / 0.7918 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003454/0.01803, allocations: 146.4 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.01807, allocations: 63.33 kB / 0.792 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.0182, allocations: 205.6 kB / 0.7922 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.01821, allocations: 25.7 kB / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.01828, allocations: 151.1 kB / 0.7923 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.0183, allocations: 31.92 kB / 0.7924 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.01836, allocations: 39.98 kB / 0.7924 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01848, allocations: 0.4923 MB / 0.7929 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.01853, allocations: 16.98 kB / 0.7929 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.0186, allocations: 62.42 kB / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01872, allocations: 87.7 kB / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01872, allocations: 4 kB / 0.793 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002008/0.01892, allocations: 111 kB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01893, allocations: 7.984 kB / 0.7931 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01894, allocations: 4.906 kB / 0.7932 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.01895, allocations: 0 / 0.7932 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.01908, allocations: 24.77 kB / 0.7932 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01908, allocations: 4 kB / 0.7932 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.01915, allocations: 14.05 kB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.01916, allocations: 8 kB / 0.7932 GB, free: 6.32 MB / 0.7448 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 9.467e-05/0.01926, allocations: 170.2 kB / 0.7934 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.01928, allocations: 15.89 kB / 0.7934 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.01931, allocations: 15.44 kB / 0.7934 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01931, allocations: 0 / 0.7934 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01932, allocations: 4.062 kB / 0.7934 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01932, allocations: 3.984 kB / 0.7934 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.01973, allocations: 405.2 kB / 0.7938 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01973, allocations: 0 / 0.7938 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.01977, allocations: 7.984 kB / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01977, allocations: 1.672 kB / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01978, allocations: 11.97 kB / 0.7938 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01979, allocations: 4 kB / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01979, allocations: 0 / 0.7938 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.02004, allocations: 275.7 kB / 0.7941 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.02005, allocations: 12.39 kB / 0.7941 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.02008, allocations: 4.516 kB / 0.7941 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.02016, allocations: 4.781 kB / 0.7941 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.02021, allocations: 15.92 kB / 0.7941 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.02022, allocations: 8.547 kB / 0.7941 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.02029, allocations: 150.4 kB / 0.7943 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02029, allocations: 1.094 kB / 0.7943 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003174/0.0206, allocations: 47.88 kB / 0.7943 GB, free: 5.129 MB / 0.7448 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.0003681/0.02097, allocations: 177.9 kB / 0.7945 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.02116, allocations: 67.59 kB / 0.7945 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.02116, allocations: 0 / 0.7945 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.02123, allocations: 43.59 kB / 0.7946 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.02151, allocations: 23.86 kB / 0.7946 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.02212, allocations: 229.3 kB / 0.7948 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.02216, allocations: 64.34 kB / 0.7949 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.0222, allocations: 5.797 kB / 0.7949 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.02223, allocations: 20.48 kB / 0.7949 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.02223, allocations: 1.125 kB / 0.7949 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.003999/0.02623, allocations: 2.054 MB / 0.7969 GB, free: 2.441 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.238264529034495]