Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001299/0.001299, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001293/0.001293, allocations: 161 kB / 23.82 MB, free: 0.7578 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 0.9491/0.9491, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.864/1.864, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.463e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002066/0.002091, allocations: 1.548 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.00306, allocations: 0.7919 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.003113, allocations: 8.875 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.003145, allocations: 3.938 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.003195, allocations: 13.36 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.003724, allocations: 143.4 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003826, allocations: 83.03 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.003906, allocations: 8.188 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.004032, allocations: 55.88 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.004081, allocations: 31.89 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.0041, allocations: 8 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.004296, allocations: 139.6 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.004315, allocations: 15.98 kB / 0.7899 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.004352, allocations: 23.91 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.004554, allocations: 147.6 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.004558, allocations: 4.922 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004559, allocations: 0 / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004563, allocations: 0.5938 kB / 0.79 GB, free: 9.488 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004917/0.005055, allocations: 443.3 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.005089, allocations: 8.031 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.005285, allocations: 42.36 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.00543, allocations: 140.4 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.00545, allocations: 384 / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.005461, allocations: 4.375 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.005588, allocations: 72.45 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005595, allocations: 192 / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005606, allocations: 8.125 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005612, allocations: 0 / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.409e-05/0.005646, allocations: 17.42 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.006006, allocations: 303.6 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.00607, allocations: 39.61 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.006101, allocations: 25.83 kB / 0.7911 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.006116, allocations: 3.938 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.527e-05/0.006191, allocations: 69.11 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.006193, allocations: 0 / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002164/0.006409, allocations: 109.8 kB / 0.7913 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.006442, allocations: 51.94 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.006525, allocations: 184.4 kB / 0.7915 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006538, allocations: 25.7 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.006585, allocations: 144.3 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.006602, allocations: 15.91 kB / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.006639, allocations: 31.36 kB / 0.7917 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.006759, allocations: 0.4923 MB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.006786, allocations: 8.609 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.006826, allocations: 39.06 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.00689, allocations: 59.98 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006893, allocations: 0.75 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001081/0.007001, allocations: 98.11 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.007013, allocations: 5.312 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007018, allocations: 0 / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.00703, allocations: 4 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.007098, allocations: 15.92 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007104, allocations: 4.5 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.007134, allocations: 8.984 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.007144, allocations: 4 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 7.302e-05/0.007218, allocations: 165.4 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.007232, allocations: 23.81 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.007253, allocations: 9.281 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007255, allocations: 0 / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.007258, allocations: 2.156 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007261, allocations: 4 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.007497, allocations: 349.3 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007498, allocations: 0 / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.007517, allocations: 4 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.007519, allocations: 4 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007528, allocations: 6.609 kB / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.007529, allocations: 0 / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00753, allocations: 0 / 0.793 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.00767, allocations: 247.8 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.007678, allocations: 7.953 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.007691, allocations: 3.984 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.00773, allocations: 4 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.007763, allocations: 5.641 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.007771, allocations: 4 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.007814, allocations: 136.2 kB / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007814, allocations: 0 / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001941/0.008008, allocations: 36.44 kB / 0.7934 GB, free: 5.777 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,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.0002811/0.008289, allocations: 177.4 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.008413, allocations: 55.58 kB / 0.7936 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008414, allocations: 0.6562 kB / 0.7936 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.008452, allocations: 23.67 kB / 0.7936 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.008637, allocations: 28.77 kB / 0.7937 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.009148, allocations: 190.4 kB / 0.7938 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.009182, allocations: 65.41 kB / 0.7939 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.009209, allocations: 4 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.009232, allocations: 8.5 kB / 0.7939 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009233, allocations: 4 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.003526/0.01276, allocations: 1.665 MB / 0.7955 GB, free: 3.543 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.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.0408308850601315]