Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001377/0.001377, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001153/0.001153, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9106/0.9106, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.729/1.729, allocations: 359 MB / 0.6052 GB, free: 11.04 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.579e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001904/0.001929, allocations: 1.559 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002938, allocations: 0.7965 MB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.00299, allocations: 0 / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.003018, allocations: 5.188 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.003067, allocations: 11.86 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.003623, allocations: 149 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003727, allocations: 75.78 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.003818, allocations: 8.172 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.003977, allocations: 61.03 kB / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.004038, allocations: 31.89 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.004061, allocations: 8 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.004307, allocations: 136.4 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.004332, allocations: 19.92 kB / 0.7899 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.004376, allocations: 25.5 kB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.004606, allocations: 147.6 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004609, allocations: 0 / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/0.004611, allocations: 0 / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004616, allocations: 0 / 0.79 GB, free: 9.508 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.0004914/0.005107, allocations: 457.9 kB / 0.7905 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.005145, allocations: 8.031 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.005343, allocations: 32.88 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005491, allocations: 134.7 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.00551, allocations: 384 / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.005523, allocations: 8.375 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.005645, allocations: 70.92 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.005651, allocations: 0.9062 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.005662, allocations: 4.125 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005669, allocations: 5.594 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.005702, allocations: 15.98 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.006061, allocations: 295.7 kB / 0.791 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/0.006124, allocations: 43.64 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.006155, allocations: 20.53 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.006172, allocations: 3.938 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.78e-05/0.00625, allocations: 78.25 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.006251, allocations: 0 / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002139/0.006465, allocations: 97.62 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.006498, allocations: 56.11 kB / 0.7913 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.006584, allocations: 181.9 kB / 0.7915 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.006599, allocations: 35.03 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.006651, allocations: 138.8 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.006668, allocations: 15.91 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.006706, allocations: 32.52 kB / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.006835, allocations: 0.4923 MB / 0.7922 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.006863, allocations: 12 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.006904, allocations: 39.83 kB / 0.7922 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.006983, allocations: 68.25 kB / 0.7923 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.006985, allocations: 0 / 0.7923 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001084/0.007094, allocations: 90.81 kB / 0.7924 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007105, allocations: 4 kB / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.007111, allocations: 4 kB / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.007122, allocations: 0 / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/0.007194, allocations: 16.52 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.0072, allocations: 0.5312 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.007232, allocations: 12.83 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.007243, allocations: 4.391 kB / 0.7924 GB, free: 6.848 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 8.3e-05/0.007326, allocations: 169.3 kB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.007339, allocations: 12.42 kB / 0.7926 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.007363, allocations: 12.42 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007365, allocations: 5.312 kB / 0.7926 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.00737, allocations: 4 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007374, allocations: 0 / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.007632, allocations: 349.4 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007633, allocations: 1.188 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.007654, allocations: 7.938 kB / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007655, allocations: 0 / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007666, allocations: 8.781 kB / 0.793 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007667, allocations: 0 / 0.793 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.00767, allocations: 4.938 kB / 0.793 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.007825, allocations: 239.8 kB / 0.7932 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.007834, allocations: 9.172 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.007847, allocations: 0 / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.007885, allocations: 7.984 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.007952, allocations: 0 / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.007969, allocations: 12.95 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.008026, allocations: 133.3 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008026, allocations: 2.281 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002088/0.008235, allocations: 35.94 kB / 0.7934 GB, free: 5.797 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.0002789/0.008514, allocations: 180.4 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.008639, allocations: 47.66 kB / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00864, allocations: 0 / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.008683, allocations: 31.61 kB / 0.7936 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.00887, allocations: 23.91 kB / 0.7936 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.009363, allocations: 180.3 kB / 0.7938 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.009399, allocations: 65.36 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.495e-05/0.009424, allocations: 9.109 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.009448, allocations: 17.78 kB / 0.7939 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009448, allocations: 0 / 0.7939 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.003116/0.01256, allocations: 1.665 MB / 0.7955 GB, free: 3.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.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: 4.856743948999792]