Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001047/0.001047, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001544/0.001544, allocations: 161 kB / 23.82 MB, free: 0.75 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.9685/0.9685, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.877/1.877, allocations: 359 MB / 0.6052 GB, free: 11.03 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.Yun2008WindowsTOut,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.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.543e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.006021/0.006056, allocations: 1.577 MB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004532/0.01059, allocations: 0.8124 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.01067, allocations: 5.562 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.01071, allocations: 3.938 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.01078, allocations: 11.86 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.01153, allocations: 168.9 kB / 0.7896 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.01168, allocations: 103.7 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.01178, allocations: 11.94 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.01197, allocations: 72.92 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.01205, allocations: 35.94 kB / 0.7898 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.01208, allocations: 11.94 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.01237, allocations: 140.2 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.0124, allocations: 29.11 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.01246, allocations: 35.89 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.01275, allocations: 171.4 kB / 0.7902 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.01276, allocations: 3.984 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01276, allocations: 2.188 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.01277, allocations: 0 / 0.7902 GB, free: 9.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.002809/0.01558, allocations: 483.5 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.01563, allocations: 12.03 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.01605, allocations: 46.89 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.01628, allocations: 140.4 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.0163, allocations: 8.312 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.01633, allocations: 9.094 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.01655, allocations: 83.42 kB / 0.7909 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01657, allocations: 1.844 kB / 0.7909 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.01658, allocations: 384 / 0.7909 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.0166, allocations: 7.938 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.01666, allocations: 23.92 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.01717, allocations: 321.3 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.58e-05/0.01726, allocations: 47.05 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.01729, allocations: 16.84 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.01732, allocations: 8.031 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.01744, allocations: 84.95 kB / 0.7914 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.01744, allocations: 1.375 kB / 0.7914 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002787/0.01772, allocations: 129.6 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.01776, allocations: 59.34 kB / 0.7916 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.01785, allocations: 189.9 kB / 0.7918 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.01787, allocations: 25.7 kB / 0.7918 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.01795, allocations: 147 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.01797, allocations: 19.86 kB / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.01802, allocations: 35.36 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.01812, allocations: 0.4933 MB / 0.7925 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.01815, allocations: 8 kB / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.0182, allocations: 63.23 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.121e-05/0.01828, allocations: 82.36 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01829, allocations: 1.312 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.01849, allocations: 109.5 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.0185, allocations: 8.75 kB / 0.7927 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.01851, allocations: 7.984 kB / 0.7927 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01852, allocations: 0 / 0.7927 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.01861, allocations: 19.98 kB / 0.7928 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01862, allocations: 8.312 kB / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.01866, allocations: 11.94 kB / 0.7928 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.01867, allocations: 4 kB / 0.7928 GB, free: 6.41 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,occ.y,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 (13): * Single equations (assignments): 13 * 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.716e-05/0.01875, allocations: 168.9 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.01876, allocations: 19.89 kB / 0.793 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.01879, allocations: 4.438 kB / 0.793 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01879, allocations: 3.938 kB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.0188, allocations: 4 kB / 0.793 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01881, allocations: 2.594 kB / 0.793 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.01913, allocations: 397.2 kB / 0.7934 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01914, allocations: 0 / 0.7934 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.01916, allocations: 3.984 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01916, allocations: 4 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.01917, allocations: 0 / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.01917, allocations: 0 / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01917, allocations: 0.8438 kB / 0.7934 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.01936, allocations: 279.7 kB / 0.7936 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.01937, allocations: 16.73 kB / 0.7936 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01939, allocations: 0 / 0.7936 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.01944, allocations: 9.281 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01948, allocations: 7.984 kB / 0.7937 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.01949, allocations: 3.984 kB / 0.7937 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.01953, allocations: 139.2 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01953, allocations: 0.8438 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000223/0.01976, allocations: 39.94 kB / 0.7938 GB, free: 5.27 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0003392/0.0201, allocations: 164.5 kB / 0.794 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.02024, allocations: 63.58 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.02024, allocations: 2.188 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.02029, allocations: 35.61 kB / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.02049, allocations: 20.05 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.02106, allocations: 200.4 kB / 0.7943 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.62e-05/0.0211, allocations: 63.34 kB / 0.7944 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.02113, allocations: 13.19 kB / 0.7944 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.02116, allocations: 16.44 kB / 0.7944 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of SimCode: time 5.72e-07/0.02116, allocations: 1.062 kB / 0.7944 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.003675/0.02483, allocations: 1.829 MB / 0.7962 GB, free: 2.859 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.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.471322524361312]