Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001824/0.001825, allocations: 192.5 kB / 16.25 MB, free: 6.617 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.19 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003136/0.3855, allocations: 1.552 MB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3869, allocations: 0.7284 MB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.3869, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.387, allocations: 3.938 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.3871, allocations: 11.92 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.3876, allocations: 107.8 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3877, allocations: 71.83 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3879, allocations: 15.98 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.388, allocations: 43.77 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.388, allocations: 35.91 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3881, allocations: 8 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.3883, allocations: 91.91 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.3883, allocations: 19.91 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.3884, allocations: 35.8 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3886, allocations: 143.8 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3886, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3886, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3886, allocations: 4 kB / 1.07 GB, free: 7.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007049/0.3893, allocations: 417 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3894, allocations: 8.031 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3894, allocations: 8.844 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3896, allocations: 176.2 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3896, allocations: 384 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3896, allocations: 12.3 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3898, allocations: 81.95 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3898, allocations: 3.938 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3899, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3899, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.39, allocations: 43.95 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.3906, allocations: 308.8 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3908, allocations: 46.56 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.3909, allocations: 32.97 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3909, allocations: 3.938 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.3911, allocations: 75.38 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.151e-05/0.3911, allocations: 4 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004009/0.3915, allocations: 145.6 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3916, allocations: 55.39 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3917, allocations: 121.8 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3917, allocations: 29.7 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.3918, allocations: 96.06 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3918, allocations: 15.75 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.3919, allocations: 33.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.392, allocations: 318.8 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.3921, allocations: 31.97 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.3922, allocations: 42.56 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3924, allocations: 74.55 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3924, allocations: 3.938 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002354/0.3927, allocations: 113.5 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3927, allocations: 7.938 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3927, allocations: 8 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3927, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3928, allocations: 11.98 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3928, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.3929, allocations: 8.062 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.3929, allocations: 8 kB / 1.073 GB, free: 5.371 MB / 0.8262 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 9.32e-05/0.393, allocations: 121.7 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.3931, allocations: 11.89 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3931, allocations: 12.31 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3931, allocations: 4 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3931, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3931, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.3936, allocations: 382.4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3936, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.3937, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3937, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3937, allocations: 3.984 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3937, allocations: 4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3937, allocations: 7.875 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.394, allocations: 211.4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.3941, allocations: 89 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3941, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.3942, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3943, allocations: 11.92 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3943, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.3943, allocations: 91.92 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 4 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003207/0.3947, allocations: 36 kB / 1.074 GB, free: 4.289 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: 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.0004228/0.3951, allocations: 163.7 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3954, allocations: 79.88 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3954, allocations: 4.125 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3955, allocations: 35.92 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.3958, allocations: 15.98 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.3963, allocations: 192.3 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.3966, allocations: 0.6924 MB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.3966, allocations: 4 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.3966, allocations: 19.42 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3967, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.004438/0.4011, allocations: 1.401 MB / 1.076 GB, free: 1.645 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)