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.0009729/0.0009729, 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.001063/0.001063, allocations: 166 kB / 24.87 MB, free: 9.258 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.9111/0.9111, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.825/1.825, allocations: 359 MB / 0.6063 GB, free: 10.87 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.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 1.734e-06/1.734e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.009e-05, allocations: 3.75 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002994/0.003024, allocations: 1.559 MB / 0.7898 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.004394, allocations: 0.7692 MB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.004467, allocations: 9.344 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.004499, allocations: 7.922 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.004568, allocations: 11.86 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.00516, allocations: 152.4 kB / 0.7907 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.00529, allocations: 71.78 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.005382, allocations: 13.73 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.005545, allocations: 47.89 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.005613, allocations: 35.94 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.005634, allocations: 8 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.005905, allocations: 144.9 kB / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.005931, allocations: 15.97 kB / 0.7911 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.005969, allocations: 23.92 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.006216, allocations: 153.5 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006219, allocations: 0 / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.006219, allocations: 0 / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.006223, allocations: 0 / 0.7912 GB, free: 9.199 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.0005368/0.00676, allocations: 445.9 kB / 0.7917 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.006798, allocations: 10.28 kB / 0.7917 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.007065, allocations: 36.88 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.007221, allocations: 136.4 kB / 0.7918 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.007241, allocations: 384 / 0.7918 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.007255, allocations: 4.938 kB / 0.7918 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.007389, allocations: 72.55 kB / 0.7919 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.007397, allocations: 192 / 0.7919 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.007409, allocations: 4.125 kB / 0.7919 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.007416, allocations: 3.984 kB / 0.7919 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.007452, allocations: 11.98 kB / 0.7919 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.007861, allocations: 281.6 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.007937, allocations: 44.2 kB / 0.7922 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.007966, allocations: 15.67 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.007982, allocations: 5.312 kB / 0.7923 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.191e-05/0.008073, allocations: 68.97 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.008075, allocations: 0 / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002579/0.008333, allocations: 101.7 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.008376, allocations: 57.16 kB / 0.7925 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.008481, allocations: 177.9 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.0085, allocations: 33.7 kB / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.008561, allocations: 138.8 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.008584, allocations: 16.77 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.008634, allocations: 31.36 kB / 0.7929 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.008776, allocations: 0.4923 MB / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.008805, allocations: 8.641 kB / 0.7933 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.008852, allocations: 42.98 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.008925, allocations: 56.92 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008927, allocations: 0 / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001418/0.009069, allocations: 88.2 kB / 0.7935 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.009084, allocations: 8 kB / 0.7935 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.009089, allocations: 0 / 0.7935 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.009099, allocations: 4 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.009185, allocations: 23.92 kB / 0.7936 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.009189, allocations: 0 / 0.7936 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.009235, allocations: 8.672 kB / 0.7936 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.009246, allocations: 4 kB / 0.7936 GB, free: 6.59 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.812e-05/0.009345, allocations: 174.7 kB / 0.7937 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.009366, allocations: 11.89 kB / 0.7937 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.009388, allocations: 8.438 kB / 0.7938 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.009392, allocations: 4 kB / 0.7938 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.009394, allocations: 0 / 0.7938 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009397, allocations: 4.594 kB / 0.7938 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.009714, allocations: 322.8 kB / 0.7941 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.009716, allocations: 0 / 0.7941 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.009748, allocations: 8 kB / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.00975, allocations: 0.8438 kB / 0.7941 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.009759, allocations: 4 kB / 0.7941 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009761, allocations: 1.281 kB / 0.7941 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009762, allocations: 0 / 0.7941 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.009946, allocations: 243.7 kB / 0.7943 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.009957, allocations: 7.953 kB / 0.7943 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.00997, allocations: 0.75 kB / 0.7943 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.01005, allocations: 12.86 kB / 0.7943 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.01008, allocations: 0 / 0.7943 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01009, allocations: 7.984 kB / 0.7943 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.01014, allocations: 134.6 kB / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01014, allocations: 0 / 0.7945 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000314/0.01045, allocations: 39.92 kB / 0.7945 GB, free: 5.574 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.0003368/0.01079, allocations: 176.1 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01092, allocations: 43.59 kB / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01092, allocations: 0 / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.01097, allocations: 27.66 kB / 0.7947 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.01125, allocations: 24.48 kB / 0.7948 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.01182, allocations: 181.3 kB / 0.7949 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.01186, allocations: 59.34 kB / 0.795 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.0119, allocations: 7.984 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.01196, allocations: 78.67 kB / 0.7951 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01196, allocations: 1.344 kB / 0.7951 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.004341/0.0163, allocations: 1.705 MB / 0.7967 GB, free: 3.254 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.0998324868269265]