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.001143/0.001143, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001388/0.001388, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.954/0.954, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.779/1.779, allocations: 359 MB / 0.6063 GB, free: 10.93 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.313e-06/1.313e-06, allocations: 0 / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.76e-05, allocations: 7.25 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003014/0.003042, allocations: 1.563 MB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.004414, allocations: 0.7842 MB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.004476, allocations: 1.219 kB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.004503, allocations: 3.938 kB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.004555, allocations: 16.61 kB / 0.7906 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.005139, allocations: 148.3 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.005268, allocations: 79.77 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.005341, allocations: 5.219 kB / 0.7908 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.005488, allocations: 59.81 kB / 0.7909 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.005546, allocations: 31.89 kB / 0.7909 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005564, allocations: 4.688 kB / 0.7909 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.005826, allocations: 135.7 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.005851, allocations: 18.64 kB / 0.7911 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.005887, allocations: 23.91 kB / 0.7911 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.00613, allocations: 155.5 kB / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006134, allocations: 0 / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006135, allocations: 0 / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.00614, allocations: 0 / 0.7912 GB, free: 9.262 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.0005026/0.006642, allocations: 455.4 kB / 0.7917 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.006677, allocations: 8.031 kB / 0.7917 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.006941, allocations: 32.86 kB / 0.7917 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.007092, allocations: 133 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.007112, allocations: 5.094 kB / 0.7918 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.007126, allocations: 8.375 kB / 0.7918 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.00725, allocations: 63.45 kB / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.007256, allocations: 1.812 kB / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.007269, allocations: 12.12 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.007274, allocations: 0 / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.007307, allocations: 15.92 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.007696, allocations: 281.6 kB / 0.7922 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.007763, allocations: 35.8 kB / 0.7922 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.00779, allocations: 15.69 kB / 0.7923 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.007803, allocations: 1.094 kB / 0.7923 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.772e-05/0.007901, allocations: 77.03 kB / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.007903, allocations: 0 / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000215/0.008118, allocations: 94.98 kB / 0.7924 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.008158, allocations: 55.41 kB / 0.7925 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.008258, allocations: 181.9 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.008275, allocations: 27.58 kB / 0.7927 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.008331, allocations: 138.9 kB / 0.7928 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.008356, allocations: 23.83 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.008406, allocations: 35.34 kB / 0.7929 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.008548, allocations: 496.1 kB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.008573, allocations: 13.52 kB / 0.7933 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.008616, allocations: 38.98 kB / 0.7934 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.257e-05/0.008688, allocations: 55.03 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00869, allocations: 2.062 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001432/0.008833, allocations: 85.81 kB / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.008847, allocations: 4 kB / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008851, allocations: 7.938 kB / 0.7935 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008864, allocations: 14.2 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.008943, allocations: 15.98 kB / 0.7936 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.008946, allocations: 0 / 0.7936 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.00899, allocations: 11.94 kB / 0.7936 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.009, allocations: 4 kB / 0.7936 GB, free: 6.648 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 9.093e-05/0.009091, allocations: 157.1 kB / 0.7937 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.009114, allocations: 20.42 kB / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.009135, allocations: 6.344 kB / 0.7938 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.009137, allocations: 0 / 0.7938 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.009141, allocations: 4 kB / 0.7938 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009146, allocations: 7.922 kB / 0.7938 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.009454, allocations: 325.9 kB / 0.7941 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009456, allocations: 2.562 kB / 0.7941 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.009483, allocations: 4 kB / 0.7941 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.009487, allocations: 3.984 kB / 0.7941 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.009493, allocations: 0 / 0.7941 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.009497, allocations: 4 kB / 0.7941 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009498, allocations: 0 / 0.7941 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.009688, allocations: 243.7 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.009699, allocations: 8.484 kB / 0.7943 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.009713, allocations: 7.984 kB / 0.7943 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.009776, allocations: 1 kB / 0.7943 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.009804, allocations: 7.984 kB / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.009812, allocations: 0.6875 kB / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.009865, allocations: 137 kB / 0.7945 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009865, allocations: 1.031 kB / 0.7945 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003165/0.01018, allocations: 39.94 kB / 0.7945 GB, free: 5.637 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.0003591/0.01054, allocations: 172.4 kB / 0.7947 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.01067, allocations: 48.59 kB / 0.7947 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01067, allocations: 0 / 0.7947 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.01071, allocations: 27.61 kB / 0.7948 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.01098, allocations: 21.5 kB / 0.7948 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.01156, allocations: 192.8 kB / 0.795 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.0116, allocations: 59.34 kB / 0.795 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.01164, allocations: 9.328 kB / 0.795 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.01169, allocations: 74.2 kB / 0.7951 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.01169, allocations: 0 / 0.7951 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of Templates: time 0.004261/0.01596, allocations: 1.704 MB / 0.7968 GB, free: 3.316 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: 5.080315296072513]