Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001015/0.001015, 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.0009854/0.0009854, allocations: 163.7 kB / 24.86 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.9547/0.9547, allocations: 177.1 MB / 205.3 MB, free: 5.531 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.803/1.803, allocations: 359 MB / 0.6063 GB, free: 10.92 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.964e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002508/0.002537, allocations: 1.57 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003785, allocations: 0.785 MB / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.003852, allocations: 0 / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.003881, allocations: 4.844 kB / 0.7906 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.003927, allocations: 11.81 kB / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.004398, allocations: 144.5 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.004493, allocations: 75.72 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.00457, allocations: 16.94 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.004682, allocations: 57.39 kB / 0.7909 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.004732, allocations: 27.89 kB / 0.7909 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004751, allocations: 8 kB / 0.7909 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.004943, allocations: 139.7 kB / 0.7911 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.004969, allocations: 23.03 kB / 0.7911 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.004997, allocations: 15.98 kB / 0.7911 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.005193, allocations: 155.5 kB / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005195, allocations: 0 / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/0.005196, allocations: 0 / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.0052, allocations: 7.938 kB / 0.7912 GB, free: 9.246 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.0004342/0.005635, allocations: 445.8 kB / 0.7917 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.005669, allocations: 12.03 kB / 0.7917 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.005853, allocations: 33.95 kB / 0.7917 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005977, allocations: 129.1 kB / 0.7918 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.005993, allocations: 5.594 kB / 0.7918 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.006003, allocations: 8.375 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.663e-05/0.0061, allocations: 62.92 kB / 0.7919 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.006105, allocations: 0.8125 kB / 0.7919 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.006116, allocations: 4.125 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006121, allocations: 4.656 kB / 0.7919 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.006146, allocations: 15.92 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.006442, allocations: 285.8 kB / 0.7922 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.006497, allocations: 36.7 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.006515, allocations: 11.69 kB / 0.7923 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.006528, allocations: 4 kB / 0.7923 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.006879, allocations: 81.02 kB / 0.7923 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.006881, allocations: 1.531 kB / 0.7923 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001878/0.007068, allocations: 89.62 kB / 0.7924 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.007106, allocations: 51.41 kB / 0.7925 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.007184, allocations: 187.8 kB / 0.7926 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.007197, allocations: 26.27 kB / 0.7927 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.007246, allocations: 146.8 kB / 0.7928 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.00726, allocations: 9.562 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.007297, allocations: 43.34 kB / 0.7929 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.007405, allocations: 0.4884 MB / 0.7933 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.007426, allocations: 11.94 kB / 0.7934 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.007459, allocations: 48.86 kB / 0.7934 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.007521, allocations: 66.66 kB / 0.7935 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.007524, allocations: 4 kB / 0.7935 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001058/0.00763, allocations: 86.03 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.007641, allocations: 4.719 kB / 0.7936 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.007646, allocations: 4 kB / 0.7936 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.007655, allocations: 0.5 kB / 0.7936 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.007724, allocations: 23.92 kB / 0.7936 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007726, allocations: 1.594 kB / 0.7936 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.007758, allocations: 7.953 kB / 0.7936 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.007768, allocations: 4 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: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.221e-05/0.00784, allocations: 169.1 kB / 0.7938 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.007853, allocations: 12.73 kB / 0.7938 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.007873, allocations: 8.438 kB / 0.7938 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.007876, allocations: 4.531 kB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007878, allocations: 0 / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007881, allocations: 1.125 kB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.008106, allocations: 326.2 kB / 0.7941 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.008108, allocations: 4 kB / 0.7941 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.008131, allocations: 4.781 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.008134, allocations: 4.031 kB / 0.7941 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.008141, allocations: 8.547 kB / 0.7941 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008142, allocations: 0.8438 kB / 0.7941 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.008143, allocations: 0 / 0.7941 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.008278, allocations: 245.8 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.008286, allocations: 7.953 kB / 0.7944 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.008296, allocations: 0 / 0.7944 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.008338, allocations: 11.98 kB / 0.7944 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.008364, allocations: 0 / 0.7944 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.008373, allocations: 11.92 kB / 0.7944 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.008411, allocations: 138.5 kB / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008411, allocations: 2.469 kB / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002069/0.008618, allocations: 35.94 kB / 0.7945 GB, free: 5.594 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,occ.y,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.0002847/0.008902, allocations: 172.7 kB / 0.7947 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.009003, allocations: 51.58 kB / 0.7948 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.009005, allocations: 0 / 0.7948 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.009036, allocations: 23.67 kB / 0.7948 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.00922, allocations: 22.2 kB / 0.7948 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.009645, allocations: 183.3 kB / 0.795 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.009676, allocations: 55.36 kB / 0.795 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.009702, allocations: 8.672 kB / 0.795 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.009748, allocations: 79.3 kB / 0.7951 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.009749, allocations: 0 / 0.7951 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.003215/0.01296, allocations: 1.716 MB / 0.7968 GB, free: 3.266 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.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.073018536902964]