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.0009802/0.0009802, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.0009743/0.0009743, allocations: 163.2 kB / 24.86 MB, free: 9.266 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.763/1.763, 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.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.653e-06/1.653e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.935e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001946/0.001966, allocations: 1.553 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003006, allocations: 0.7811 MB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.003065, allocations: 3.938 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.00309, allocations: 8.984 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.00314, allocations: 11.86 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.003626, allocations: 145 kB / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.003726, allocations: 79.77 kB / 0.7908 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.0038, allocations: 8.172 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003918, allocations: 54.05 kB / 0.7909 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.003966, allocations: 35.88 kB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.003987, allocations: 8 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.004174, allocations: 139.6 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.004193, allocations: 15.98 kB / 0.7911 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.004223, allocations: 25.47 kB / 0.7911 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.004402, allocations: 147.6 kB / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004403, allocations: 0 / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004404, allocations: 0 / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.004408, allocations: 0 / 0.7912 GB, free: 9.227 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.0004059/0.004814, allocations: 450.8 kB / 0.7916 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.004847, allocations: 12.61 kB / 0.7917 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.005036, allocations: 34.16 kB / 0.7917 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.005166, allocations: 139.4 kB / 0.7918 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.005182, allocations: 6.422 kB / 0.7918 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.005193, allocations: 8.375 kB / 0.7918 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.005289, allocations: 66.92 kB / 0.7919 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.005294, allocations: 192 / 0.7919 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005305, allocations: 8.125 kB / 0.7919 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.005308, allocations: 0 / 0.7919 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.005331, allocations: 8.719 kB / 0.7919 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.005626, allocations: 290.4 kB / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.005677, allocations: 39.05 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.005697, allocations: 15.67 kB / 0.7922 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.00571, allocations: 4 kB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/0.005778, allocations: 65.77 kB / 0.7923 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.00578, allocations: 1.156 kB / 0.7923 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001829/0.005963, allocations: 101.5 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.005995, allocations: 55.41 kB / 0.7925 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.006081, allocations: 183 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.006094, allocations: 29.7 kB / 0.7927 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.006138, allocations: 134.8 kB / 0.7928 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.006155, allocations: 15.89 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.006192, allocations: 40.72 kB / 0.7929 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.006301, allocations: 0.4923 MB / 0.7933 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.006318, allocations: 7.984 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.006349, allocations: 36.81 kB / 0.7934 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.006402, allocations: 54.97 kB / 0.7934 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006404, allocations: 0 / 0.7934 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.494e-05/0.006499, allocations: 90.67 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.00651, allocations: 9.562 kB / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.006514, allocations: 1.562 kB / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.006522, allocations: 0 / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.006582, allocations: 19.92 kB / 0.7935 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006586, allocations: 0 / 0.7935 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.006615, allocations: 9.141 kB / 0.7936 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.006626, allocations: 12 kB / 0.7936 GB, free: 6.613 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.772e-05/0.006694, allocations: 163.7 kB / 0.7937 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.006709, allocations: 15.88 kB / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.006729, allocations: 12.38 kB / 0.7937 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006731, allocations: 4 kB / 0.7938 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006733, allocations: 0 / 0.7938 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.006736, allocations: 0 / 0.7938 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.00696, allocations: 329.9 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006961, allocations: 4 kB / 0.7941 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.006979, allocations: 0.5 kB / 0.7941 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.00698, allocations: 1.938 kB / 0.7941 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.006986, allocations: 4 kB / 0.7941 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006987, allocations: 0 / 0.7941 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006987, allocations: 0 / 0.7941 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.007115, allocations: 247.7 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.007122, allocations: 10.42 kB / 0.7943 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.007133, allocations: 0 / 0.7943 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.007172, allocations: 4 kB / 0.7943 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.007197, allocations: 3.984 kB / 0.7943 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.007203, allocations: 4 kB / 0.7943 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.007251, allocations: 135.2 kB / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007251, allocations: 0 / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001923/0.007443, allocations: 40.77 kB / 0.7945 GB, free: 5.602 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.0002542/0.007697, allocations: 176.5 kB / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.007798, allocations: 48.42 kB / 0.7947 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0078, allocations: 4 kB / 0.7947 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.007832, allocations: 26.48 kB / 0.7947 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.008007, allocations: 18.17 kB / 0.7948 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.008431, allocations: 190.6 kB / 0.7949 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.008463, allocations: 61.66 kB / 0.795 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.008488, allocations: 4 kB / 0.795 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.008536, allocations: 78.19 kB / 0.7951 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.008536, allocations: 0 / 0.7951 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of Templates: time 0.00324/0.01178, allocations: 1.712 MB / 0.7968 GB, free: 3.27 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.049878682009876]