Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 63.27 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3768, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003028/0.3798, allocations: 1.687 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3813, allocations: 0.8024 MB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3814, allocations: 0 / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.3814, allocations: 3.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.3815, allocations: 27.78 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.3821, allocations: 123.7 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3823, allocations: 151.5 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3824, allocations: 25.03 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3825, allocations: 59.84 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3827, allocations: 71.77 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.3827, allocations: 15.88 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.3829, allocations: 95.84 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.3829, allocations: 27.89 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.383, allocations: 55.78 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.3833, allocations: 207.6 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3833, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3833, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3833, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 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.0008471/0.3842, allocations: 0.5384 MB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3842, allocations: 8.031 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.3843, allocations: 16.75 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3844, allocations: 183 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.3845, allocations: 8.375 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3845, allocations: 4.375 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.385, allocations: 149.8 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.385, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.385, allocations: 3.984 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.385, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.3854, allocations: 107.8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.3862, allocations: 384.4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3866, allocations: 102.5 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.3869, allocations: 80.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3869, allocations: 11.98 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.3874, allocations: 139.2 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3874, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001091/0.3885, allocations: 301.3 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3885, allocations: 63.39 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3886, allocations: 146.4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3887, allocations: 26.08 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.3887, allocations: 100.4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3888, allocations: 23.81 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.3888, allocations: 29.7 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.389, allocations: 330.7 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3891, allocations: 47.97 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3893, allocations: 77.11 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.3895, allocations: 129 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3895, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003563/0.3899, allocations: 165.5 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3899, allocations: 4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3899, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3899, allocations: 4 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3901, allocations: 15.98 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3901, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3902, allocations: 19.89 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3903, allocations: 4 kB / 1.074 GB, free: 4.098 MB / 0.8262 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.0001091/0.3904, allocations: 137.3 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3904, allocations: 11.91 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.3904, allocations: 8.719 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3905, allocations: 4.109 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3905, allocations: 3.938 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3905, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009782/0.3915, allocations: 0.5332 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3915, allocations: 0 / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.3916, allocations: 15.98 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3916, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.3916, allocations: 7.984 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3916, allocations: 7.938 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3916, allocations: 0 / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.3924, allocations: 323.2 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3924, allocations: 85.02 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3925, allocations: 8.188 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3927, allocations: 23.91 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.3928, allocations: 15.86 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3928, allocations: 7.984 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.288e-05/0.3929, allocations: 113.5 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3929, allocations: 0 / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003433/0.3932, allocations: 47.98 kB / 1.075 GB, free: 2.66 MB / 0.8262 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.0003641/0.3936, allocations: 148.2 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.3941, allocations: 140 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3941, allocations: 0 / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.3944, allocations: 92.11 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.3948, allocations: 15.08 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.3955, allocations: 301.8 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3957, allocations: 0.7004 MB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.734e-05/0.3958, allocations: 11.98 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.3958, allocations: 15.42 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3958, allocations: 0 / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.004894/0.4007, allocations: 1.863 MB / 1.078 GB, free: 15.36 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)