Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001031/0.001031, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.00101/0.00101, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9417/0.9417, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.9/1.9, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0.875 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.51e-05, allocations: 3.094 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002977/0.003012, allocations: 1.56 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004087, allocations: 0.7842 MB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.004146, allocations: 8.5 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.004181, allocations: 3.938 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.004236, allocations: 12.92 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.00486, allocations: 144.8 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.00498, allocations: 87.69 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.468e-05/0.005064, allocations: 4.188 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.00521, allocations: 54.41 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.005261, allocations: 27.91 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.00528, allocations: 4 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.00551, allocations: 143.7 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.005534, allocations: 23.91 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.005569, allocations: 15.98 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005789, allocations: 155.5 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005792, allocations: 1.75 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.005793, allocations: 0 / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005798, allocations: 0 / 0.79 GB, free: 9.473 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.0005209/0.006319, allocations: 450.4 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.00636, allocations: 8.031 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.006579, allocations: 34.52 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.006741, allocations: 140.4 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.006763, allocations: 4.375 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.006777, allocations: 13.73 kB / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.006911, allocations: 66.94 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.006919, allocations: 192 / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006932, allocations: 9.078 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.006939, allocations: 0 / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.006973, allocations: 8 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.007376, allocations: 311 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.007595, allocations: 35.06 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.007629, allocations: 23.8 kB / 0.7911 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.007646, allocations: 3.938 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.859e-05/0.007735, allocations: 65.05 kB / 0.7911 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.007736, allocations: 0 / 0.7911 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000254/0.00799, allocations: 110.4 kB / 0.7913 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.008031, allocations: 52.12 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.008131, allocations: 183.7 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.008145, allocations: 30.23 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.0082, allocations: 136.5 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.008221, allocations: 23.83 kB / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.008263, allocations: 31.36 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.00839, allocations: 496.1 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.008425, allocations: 15.98 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-05/0.008473, allocations: 47.42 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.678e-05/0.00855, allocations: 64.44 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.008554, allocations: 0 / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001259/0.008679, allocations: 94.64 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.008693, allocations: 4 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008698, allocations: 1.375 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.008711, allocations: 4 kB / 0.7924 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.008794, allocations: 15.92 kB / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.0088, allocations: 4 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.008835, allocations: 13.7 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.008845, allocations: 3.984 kB / 0.7924 GB, free: 6.801 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.421e-05/0.008919, allocations: 160.6 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.008934, allocations: 16.8 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.008957, allocations: 8.438 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008958, allocations: 0.7812 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008962, allocations: 0 / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.008965, allocations: 1.25 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.009237, allocations: 357.2 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009239, allocations: 0 / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.009265, allocations: 7.984 kB / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.009267, allocations: 0.8438 kB / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.009276, allocations: 0 / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.009277, allocations: 1.312 kB / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.009278, allocations: 0 / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.00943, allocations: 259.7 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.009439, allocations: 7.953 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.009451, allocations: 1.219 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.009498, allocations: 4 kB / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.009535, allocations: 3.984 kB / 0.7932 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.009544, allocations: 9.844 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.009591, allocations: 131.8 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009591, allocations: 0 / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002126/0.009803, allocations: 43.86 kB / 0.7934 GB, free: 5.746 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.0003334/0.01014, allocations: 172.1 kB / 0.7936 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.01028, allocations: 56.08 kB / 0.7936 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01028, allocations: 0 / 0.7936 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.009e-05/0.01032, allocations: 24.22 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01051, allocations: 21.86 kB / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.01109, allocations: 191.3 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.01113, allocations: 63.34 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.01116, allocations: 3.156 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.01119, allocations: 16.48 kB / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.01119, allocations: 0 / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.003651/0.01484, allocations: 1.659 MB / 0.7955 GB, free: 3.531 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.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.34103018604219]