Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.001022/0.001022, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001031/0.001031, allocations: 169 kB / 24.28 MB, free: 280 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 0.9761/0.9761, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.6055 GB, free: 11.02 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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.263e-05, allocations: 5.688 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001994/0.002017, allocations: 1.691 MB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.003281, allocations: 0.8639 MB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.003367, allocations: 0 / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.003405, allocations: 11.86 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.003475, allocations: 29.92 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.004227, allocations: 187.3 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.004418, allocations: 163.5 kB / 0.79 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004532, allocations: 15.27 kB / 0.79 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.004735, allocations: 103.7 kB / 0.7901 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.004821, allocations: 63.84 kB / 0.7901 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.004851, allocations: 12 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.005096, allocations: 141.3 kB / 0.7903 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.005131, allocations: 39.88 kB / 0.7903 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.005187, allocations: 43.89 kB / 0.7904 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.005482, allocations: 207.3 kB / 0.7906 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005486, allocations: 4 kB / 0.7906 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005487, allocations: 1.156 kB / 0.7906 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.005493, allocations: 0 / 0.7906 GB, free: 9.277 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006949/0.006187, allocations: 0.5703 MB / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.006232, allocations: 8.031 kB / 0.7911 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.006628, allocations: 78.58 kB / 0.7912 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.006856, allocations: 159.4 kB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.00688, allocations: 384 / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.0069, allocations: 14.31 kB / 0.7914 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.007145, allocations: 118.7 kB / 0.7915 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007154, allocations: 192 / 0.7915 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.007172, allocations: 6.969 kB / 0.7915 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.007183, allocations: 3.938 kB / 0.7915 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.007257, allocations: 27.97 kB / 0.7915 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.007843, allocations: 355.6 kB / 0.7919 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.007957, allocations: 55.7 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.008018, allocations: 36.14 kB / 0.7919 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.008041, allocations: 1.656 kB / 0.7919 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.008177, allocations: 92.94 kB / 0.792 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.008179, allocations: 0 / 0.792 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003384/0.008518, allocations: 154.2 kB / 0.7922 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.00856, allocations: 59.33 kB / 0.7922 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.008678, allocations: 213 kB / 0.7924 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.008692, allocations: 29.7 kB / 0.7925 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.008758, allocations: 159.8 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.008778, allocations: 15.86 kB / 0.7926 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.008823, allocations: 36.2 kB / 0.7927 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.008943, allocations: 0.4962 MB / 0.7932 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.008979, allocations: 11.98 kB / 0.7932 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.009041, allocations: 73.89 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.009139, allocations: 86.89 kB / 0.7933 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.009142, allocations: 5.172 kB / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001627/0.009305, allocations: 122.6 kB / 0.7934 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.009322, allocations: 8 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.009328, allocations: 0 / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.009342, allocations: 1.375 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.009438, allocations: 19.98 kB / 0.7935 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.009445, allocations: 4 kB / 0.7935 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.009494, allocations: 15.92 kB / 0.7935 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.009509, allocations: 6.969 kB / 0.7935 GB, free: 6.012 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.775e-05/0.009597, allocations: 164.5 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.009621, allocations: 19.84 kB / 0.7937 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.009648, allocations: 16.77 kB / 0.7937 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009651, allocations: 0 / 0.7937 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009655, allocations: 0 / 0.7937 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009659, allocations: 4.5 kB / 0.7937 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.01005, allocations: 415.1 kB / 0.7941 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01005, allocations: 0 / 0.7941 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.01009, allocations: 11.98 kB / 0.7941 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01009, allocations: 0 / 0.7941 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01011, allocations: 8.5 kB / 0.7941 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01011, allocations: 3.984 kB / 0.7941 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01011, allocations: 1.344 kB / 0.7941 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.01033, allocations: 283.7 kB / 0.7944 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01035, allocations: 13.08 kB / 0.7944 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01037, allocations: 7.984 kB / 0.7944 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.01045, allocations: 16.64 kB / 0.7944 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.0105, allocations: 3.984 kB / 0.7944 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.01052, allocations: 16.52 kB / 0.7944 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.01058, allocations: 156.9 kB / 0.7946 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 2.812 kB / 0.7946 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002328/0.01081, allocations: 47.89 kB / 0.7946 GB, free: 4.785 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003297/0.01114, allocations: 176.1 kB / 0.7948 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.01131, allocations: 71.58 kB / 0.7949 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01131, allocations: 0 / 0.7949 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.01138, allocations: 40.64 kB / 0.7949 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01159, allocations: 29.58 kB / 0.7949 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.01222, allocations: 244.3 kB / 0.7952 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.01226, allocations: 63.34 kB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.01229, allocations: 10.23 kB / 0.7952 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.01233, allocations: 24.48 kB / 0.7953 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01233, allocations: 0 / 0.7953 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.00393/0.01626, allocations: 2.087 MB / 0.7973 GB, free: 2.031 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.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.110185643890873]