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.001006/0.001006, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001348/0.001348, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9696/0.9696, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11.03 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.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.054e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002948/0.002978, allocations: 1.678 MB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.004678, allocations: 0.8717 MB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.004756, allocations: 5.5 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.004801, allocations: 15.8 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.004886, allocations: 23.73 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.00564, allocations: 188.7 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.005864, allocations: 161.5 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.00598, allocations: 21.23 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.00619, allocations: 99.83 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.00629, allocations: 59.84 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.006322, allocations: 12 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.006606, allocations: 145.9 kB / 0.7903 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.006651, allocations: 43.88 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.006709, allocations: 35.91 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.007042, allocations: 219.3 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.007044, allocations: 3.938 kB / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007045, allocations: 0 / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.00705, allocations: 0.5312 kB / 0.7906 GB, free: 8.941 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.0007718/0.007822, allocations: 0.5588 MB / 0.7911 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.00787, allocations: 12.03 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.008371, allocations: 74.58 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.008612, allocations: 163.7 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.00864, allocations: 12.31 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.008667, allocations: 12.98 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.008936, allocations: 112.8 kB / 0.7915 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.008948, allocations: 192 / 0.7915 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.008966, allocations: 4.375 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.008976, allocations: 7.938 kB / 0.7915 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.009065, allocations: 26.36 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.00971, allocations: 351.6 kB / 0.7919 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.009836, allocations: 51.77 kB / 0.7919 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.009914, allocations: 39.55 kB / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.009942, allocations: 4.531 kB / 0.7919 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.01009, allocations: 94.59 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.01009, allocations: 0 / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004324/0.01053, allocations: 149.7 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.01057, allocations: 60.05 kB / 0.7922 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.01072, allocations: 215.5 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01074, allocations: 26.92 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.01081, allocations: 155.1 kB / 0.7926 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.01084, allocations: 19.86 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.0109, allocations: 40.52 kB / 0.7927 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01106, allocations: 0.4924 MB / 0.7931 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.0111, allocations: 19.86 kB / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.01119, allocations: 69.61 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.01132, allocations: 90.95 kB / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01132, allocations: 0 / 0.7933 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002075/0.01153, allocations: 119.5 kB / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01154, allocations: 4 kB / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01155, allocations: 0 / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01157, allocations: 4 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01169, allocations: 24.7 kB / 0.7935 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01169, allocations: 0.875 kB / 0.7935 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.01177, allocations: 19.92 kB / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01178, allocations: 5.562 kB / 0.7935 GB, free: 5.68 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 0.0001007/0.01188, allocations: 164.5 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01192, allocations: 19.84 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.01196, allocations: 21.89 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01196, allocations: 0 / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01196, allocations: 0 / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01197, allocations: 3.312 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.01248, allocations: 413.2 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01249, allocations: 0 / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.01254, allocations: 15.98 kB / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01255, allocations: 0 / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.01256, allocations: 0 / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01256, allocations: 0 / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01256, allocations: 3.984 kB / 0.7941 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.01288, allocations: 292.1 kB / 0.7944 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.0129, allocations: 9.297 kB / 0.7944 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01292, allocations: 8 kB / 0.7944 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.01305, allocations: 12.86 kB / 0.7944 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.0131, allocations: 7.984 kB / 0.7944 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.01312, allocations: 11.98 kB / 0.7944 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.913e-05/0.0132, allocations: 149.8 kB / 0.7946 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0132, allocations: 0 / 0.7946 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003534/0.01355, allocations: 50.7 kB / 0.7946 GB, free: 4.465 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.0003755/0.01392, allocations: 188.8 kB / 0.7948 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.01413, allocations: 70.45 kB / 0.7949 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01414, allocations: 4 kB / 0.7949 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.01423, allocations: 47.59 kB / 0.7949 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01453, allocations: 22.92 kB / 0.7949 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.01539, allocations: 244.4 kB / 0.7952 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.01545, allocations: 63.34 kB / 0.7952 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.01549, allocations: 6.016 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.01554, allocations: 17.02 kB / 0.7953 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01554, allocations: 1.656 kB / 0.7953 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.005095/0.02063, allocations: 2.09 MB / 0.7973 GB, free: 1.707 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.353686729911715]