Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001413/0.001413, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001404/0.001404, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 1.072/1.072, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.799/1.799, allocations: 359 MB / 0.6055 GB, free: 10.99 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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.453e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001984/0.002009, allocations: 1.553 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003022, allocations: 0.7891 MB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.003082, allocations: 0 / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.003112, allocations: 5.469 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.003163, allocations: 11.88 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.003695, allocations: 148.9 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.003942, allocations: 79.77 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.004034, allocations: 8.172 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.004179, allocations: 51.89 kB / 0.7897 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.004232, allocations: 33.42 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004251, allocations: 8 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.004443, allocations: 139.7 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.004465, allocations: 15.97 kB / 0.7899 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.004503, allocations: 27.36 kB / 0.7899 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.004712, allocations: 147.5 kB / 0.79 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004715, allocations: 0 / 0.79 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004715, allocations: 0 / 0.79 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004719, allocations: 0 / 0.79 GB, free: 9.844 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.0004861/0.005205, allocations: 449.9 kB / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.005243, allocations: 12.03 kB / 0.7905 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.005452, allocations: 33.56 kB / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.005602, allocations: 132.5 kB / 0.7906 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.005623, allocations: 12.95 kB / 0.7906 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.005635, allocations: 5.094 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.005764, allocations: 66.92 kB / 0.7907 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.00577, allocations: 1.469 kB / 0.7907 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.005783, allocations: 12.06 kB / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.00579, allocations: 0 / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.005826, allocations: 12.61 kB / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.006212, allocations: 304.8 kB / 0.791 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.006281, allocations: 39.05 kB / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.006312, allocations: 16.44 kB / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.00633, allocations: 3.938 kB / 0.7911 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.579e-05/0.006416, allocations: 73.81 kB / 0.7911 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.006418, allocations: 1.281 kB / 0.7911 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002291/0.006647, allocations: 105.9 kB / 0.7912 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.006683, allocations: 63.39 kB / 0.7913 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.006769, allocations: 176.2 kB / 0.7915 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.00678, allocations: 29.7 kB / 0.7915 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.006831, allocations: 140.1 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.006847, allocations: 15.91 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.006886, allocations: 35.36 kB / 0.7917 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.006992, allocations: 0.4923 MB / 0.7922 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.007024, allocations: 10.75 kB / 0.7922 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.007068, allocations: 46.98 kB / 0.7922 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.007133, allocations: 51.05 kB / 0.7923 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007135, allocations: 0 / 0.7923 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001178/0.007253, allocations: 91 kB / 0.7924 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.007269, allocations: 13.86 kB / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.007273, allocations: 0 / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007284, allocations: 0 / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.007359, allocations: 20.44 kB / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.007365, allocations: 0 / 0.7924 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.007397, allocations: 12.5 kB / 0.7924 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.007406, allocations: 9.312 kB / 0.7924 GB, free: 7.176 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.532e-05/0.007482, allocations: 164.5 kB / 0.7926 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.007497, allocations: 16.5 kB / 0.7926 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.007521, allocations: 12.42 kB / 0.7926 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007523, allocations: 5.969 kB / 0.7926 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.007527, allocations: 0 / 0.7926 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007531, allocations: 0 / 0.7926 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.007785, allocations: 349.3 kB / 0.7929 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007787, allocations: 0 / 0.7929 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.007808, allocations: 4.531 kB / 0.7929 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.00781, allocations: 0 / 0.7929 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.00782, allocations: 8.5 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007821, allocations: 1.094 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007824, allocations: 3.984 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.007969, allocations: 243.7 kB / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.007976, allocations: 8.859 kB / 0.7932 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.007989, allocations: 0 / 0.7932 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.474e-05/0.008033, allocations: 12.83 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.00807, allocations: 4 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.008078, allocations: 3.984 kB / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.008122, allocations: 138.4 kB / 0.7933 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008122, allocations: 0 / 0.7933 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002082/0.00833, allocations: 39.94 kB / 0.7934 GB, free: 6.121 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.0003168/0.008647, allocations: 166.5 kB / 0.7935 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.008767, allocations: 55.58 kB / 0.7936 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.008769, allocations: 5.062 kB / 0.7936 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.008811, allocations: 31.61 kB / 0.7936 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009005, allocations: 17 kB / 0.7936 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.009563, allocations: 194.3 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.009598, allocations: 56.98 kB / 0.7939 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.009626, allocations: 7.984 kB / 0.7939 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.009654, allocations: 12.5 kB / 0.7939 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.009654, allocations: 0.7812 kB / 0.7939 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of Templates: time 0.003353/0.01301, allocations: 1.517 MB / 0.7954 GB, free: 4.043 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.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.1505136548075825]