Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001357/0.001357, allocations: 80.39 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.0009461/0.0009461, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.9819/0.9819, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.757/1.757, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.159e-05, allocations: 2.969 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00189/0.001911, allocations: 1.555 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003293, allocations: 0.7809 MB / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.003352, allocations: 3.938 kB / 0.7906 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.003379, allocations: 4.5 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.00343, allocations: 16.55 kB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.003928, allocations: 144.3 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.004034, allocations: 83.75 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.967e-05/0.004103, allocations: 4.844 kB / 0.7908 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.004218, allocations: 59.41 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.004261, allocations: 23.91 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.004277, allocations: 11.98 kB / 0.7909 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.004475, allocations: 147.6 kB / 0.7911 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.004495, allocations: 11.98 kB / 0.7911 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.004527, allocations: 27.91 kB / 0.7911 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004711, allocations: 143.6 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004713, allocations: 0 / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004714, allocations: 0 / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004718, allocations: 4 kB / 0.7912 GB, free: 9.23 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.0004294/0.005147, allocations: 442.6 kB / 0.7917 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005183, allocations: 13.69 kB / 0.7917 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.005377, allocations: 32.86 kB / 0.7917 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005509, allocations: 143.6 kB / 0.7918 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.005527, allocations: 8.375 kB / 0.7918 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.005538, allocations: 4.375 kB / 0.7918 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.005634, allocations: 66.92 kB / 0.7919 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.00564, allocations: 1.781 kB / 0.7919 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.00565, allocations: 12.05 kB / 0.7919 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005655, allocations: 4 kB / 0.7919 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.005677, allocations: 4 kB / 0.7919 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.005985, allocations: 285.2 kB / 0.7922 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.282e-05/0.006038, allocations: 36.7 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.006059, allocations: 19.81 kB / 0.7923 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.006072, allocations: 3.984 kB / 0.7923 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/0.00614, allocations: 69.64 kB / 0.7923 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.006141, allocations: 0 / 0.7923 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000173/0.006314, allocations: 98.23 kB / 0.7924 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.006343, allocations: 56.06 kB / 0.7925 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.006415, allocations: 177.9 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006428, allocations: 30.72 kB / 0.7927 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.006472, allocations: 142.8 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.006489, allocations: 19.89 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.006525, allocations: 31.89 kB / 0.7929 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006628, allocations: 0.4897 MB / 0.7933 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.006645, allocations: 8 kB / 0.7933 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.006679, allocations: 39.03 kB / 0.7934 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.006733, allocations: 56.12 kB / 0.7934 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006735, allocations: 0 / 0.7934 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.493e-05/0.00683, allocations: 94.33 kB / 0.7935 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006841, allocations: 4.844 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.006846, allocations: 0 / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.006862, allocations: 4.906 kB / 0.7935 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.006926, allocations: 15.92 kB / 0.7935 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006932, allocations: 9.031 kB / 0.7936 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.006963, allocations: 11.95 kB / 0.7936 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.006972, allocations: 3.938 kB / 0.7936 GB, free: 6.617 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 6.878e-05/0.007041, allocations: 168.7 kB / 0.7937 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.007054, allocations: 11.89 kB / 0.7937 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.007075, allocations: 17.27 kB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007077, allocations: 0 / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.00708, allocations: 2.219 kB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007083, allocations: 0 / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.007314, allocations: 325.9 kB / 0.7941 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.007316, allocations: 0 / 0.7941 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.007335, allocations: 7.984 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007337, allocations: 0 / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.007343, allocations: 2.969 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007344, allocations: 0 / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007345, allocations: 0 / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.007487, allocations: 251.7 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.007496, allocations: 3.953 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007508, allocations: 0 / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.007546, allocations: 4 kB / 0.7943 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.007578, allocations: 11.98 kB / 0.7943 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.007583, allocations: 1.406 kB / 0.7943 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.007625, allocations: 131.2 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007625, allocations: 0 / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002122/0.007837, allocations: 39.92 kB / 0.7945 GB, free: 5.609 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.0002765/0.008114, allocations: 171.8 kB / 0.7947 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.008223, allocations: 56.7 kB / 0.7947 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008225, allocations: 3.938 kB / 0.7947 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.008256, allocations: 19.69 kB / 0.7947 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.008434, allocations: 21.28 kB / 0.7948 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.008846, allocations: 184.9 kB / 0.7949 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.275e-05/0.008879, allocations: 63.34 kB / 0.795 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.008904, allocations: 7.688 kB / 0.795 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.008948, allocations: 74.19 kB / 0.7951 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.008948, allocations: 0 / 0.7951 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.003449/0.0124, allocations: 1.712 MB / 0.7968 GB, free: 3.281 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.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.010620987974107]