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.001865/0.001865, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002042/0.002042, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 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 1.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 2.974/2.974, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.194e-06/2.194e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.047e-05, allocations: 2.938 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003387/0.003418, allocations: 1.617 MB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.005248, allocations: 0.8407 MB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.005313, allocations: 4.719 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.005346, allocations: 7.875 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.005437, allocations: 28.66 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.006141, allocations: 168 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.006352, allocations: 148.8 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.006445, allocations: 9.578 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.006648, allocations: 91.8 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.006762, allocations: 57.38 kB / 0.7893 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.006796, allocations: 12 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.007113, allocations: 143.7 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.00716, allocations: 35.88 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.007229, allocations: 41.11 kB / 0.7895 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.007611, allocations: 231.3 kB / 0.7897 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.007614, allocations: 0 / 0.7897 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007616, allocations: 5.531 kB / 0.7897 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.007621, allocations: 0 / 0.7897 GB, free: 9.383 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.0008708/0.008492, allocations: 0.5068 MB / 0.7902 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.008527, allocations: 9.156 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/0.009201, allocations: 75.92 kB / 0.7903 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.009451, allocations: 148.4 kB / 0.7904 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.009476, allocations: 8.375 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.0095, allocations: 8.375 kB / 0.7904 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.009757, allocations: 94.84 kB / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.009766, allocations: 192 / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.009781, allocations: 2.031 kB / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.00979, allocations: 7.938 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.009988, allocations: 55.91 kB / 0.7906 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.01084, allocations: 348.7 kB / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.01105, allocations: 68.75 kB / 0.791 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.01118, allocations: 47.67 kB / 0.791 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.01121, allocations: 5.219 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.01143, allocations: 108.9 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.01143, allocations: 0 / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0006519/0.01209, allocations: 214.9 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.01215, allocations: 59.39 kB / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01236, allocations: 218.6 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.01239, allocations: 29.69 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01251, allocations: 152.8 kB / 0.7918 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.01255, allocations: 31.97 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.01263, allocations: 43.36 kB / 0.7919 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002779/0.01291, allocations: 0.4962 MB / 0.7923 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01303, allocations: 36.89 kB / 0.7924 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.01319, allocations: 90.34 kB / 0.7925 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.01345, allocations: 128 kB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01345, allocations: 1.188 kB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003797/0.01383, allocations: 161.9 kB / 0.7927 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01385, allocations: 5.375 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01386, allocations: 4.062 kB / 0.7928 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01388, allocations: 4.109 kB / 0.7928 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.01404, allocations: 25.08 kB / 0.7928 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.01405, allocations: 4 kB / 0.7928 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.01414, allocations: 7.953 kB / 0.7928 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.01416, allocations: 12.8 kB / 0.7928 GB, free: 5.969 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 0.0001531/0.01432, allocations: 174.9 kB / 0.793 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01435, allocations: 15.89 kB / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.01439, allocations: 18.11 kB / 0.793 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01439, allocations: 0 / 0.793 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.0144, allocations: 4 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.0144, allocations: 0.875 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/0.01514, allocations: 457.2 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01514, allocations: 2.219 kB / 0.7934 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.01519, allocations: 4 kB / 0.7935 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.0152, allocations: 4 kB / 0.7935 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01522, allocations: 3.984 kB / 0.7935 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01522, allocations: 0 / 0.7935 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01522, allocations: 0 / 0.7935 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.01572, allocations: 331.6 kB / 0.7938 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.01575, allocations: 7.953 kB / 0.7938 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.01578, allocations: 4 kB / 0.7938 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.0159, allocations: 7.984 kB / 0.7938 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.01595, allocations: 7.984 kB / 0.7938 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01596, allocations: 0 / 0.7938 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001295/0.01609, allocations: 163.1 kB / 0.794 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01609, allocations: 0 / 0.794 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003346/0.01643, allocations: 47.88 kB / 0.794 GB, free: 4.684 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.0006288/0.01706, allocations: 173.2 kB / 0.7942 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.0174, allocations: 113.7 kB / 0.7943 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0174, allocations: 3.938 kB / 0.7943 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.01756, allocations: 67.53 kB / 0.7943 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.01786, allocations: 25.39 kB / 0.7944 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.01841, allocations: 226.8 kB / 0.7946 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.0185, allocations: 85.62 kB / 0.7947 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.01856, allocations: 11 kB / 0.7947 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.0186, allocations: 20.5 kB / 0.7947 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.0186, allocations: 0 / 0.7947 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.006289/0.02489, allocations: 2.055 MB / 0.7967 GB, free: 1.914 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.092572555062361]