Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.851/1.851, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 170.1 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.429/2.429, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.98 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005634/0.0005638, allocations: 13 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3774, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002587/0.3801, allocations: 1.215 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3823, allocations: 0.7719 MB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.3823, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.3824, allocations: 7.984 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.3825, allocations: 11.88 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.3833, allocations: 99.77 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3834, allocations: 75.77 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3836, allocations: 11.98 kB / 0.9031 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3837, allocations: 23.92 kB / 0.9031 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.3838, allocations: 39.83 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3839, allocations: 4 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.3842, allocations: 91.84 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.3842, allocations: 15.92 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.3843, allocations: 57.55 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.3846, allocations: 123.7 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3847, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3847, allocations: 4 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3847, allocations: 0 / 0.9034 GB, free: 60.83 MB / 0.6042 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.0007891/0.3855, allocations: 413.3 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.3856, allocations: 8.031 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.3856, allocations: 34.73 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.3857, allocations: 12.78 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3858, allocations: 176.2 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.3859, allocations: 8.375 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3859, allocations: 4.375 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3862, allocations: 77.78 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3863, allocations: 0 / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3863, allocations: 0 / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3863, allocations: 4 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.3865, allocations: 43.97 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.3874, allocations: 324.6 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.3876, allocations: 54.56 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3878, allocations: 40.95 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3878, allocations: 7.875 kB / 0.9046 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.3881, allocations: 83.38 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/0.3881, allocations: 0 / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006476/0.3888, allocations: 145.6 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3888, allocations: 55.41 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.389, allocations: 125.7 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.389, allocations: 29.7 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.3891, allocations: 88.14 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3891, allocations: 19.73 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.3891, allocations: 0 / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.3892, allocations: 326.8 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3894, allocations: 27.97 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3896, allocations: 46.56 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3899, allocations: 90.47 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3899, allocations: 0 / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004479/0.3903, allocations: 117.5 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3904, allocations: 4 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3904, allocations: 4.062 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3904, allocations: 4 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3906, allocations: 11.94 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3906, allocations: 3.984 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3908, allocations: 12 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.3908, allocations: 4 kB / 0.9057 GB, free: 58.22 MB / 0.6042 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 0.0001111/0.3909, allocations: 117.8 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.391, allocations: 11.91 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.391, allocations: 12.36 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.391, allocations: 3.938 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.391, allocations: 0 / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3911, allocations: 0 / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.3917, allocations: 386.4 kB / 0.9062 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3917, allocations: 4 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.3918, allocations: 4 kB / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3918, allocations: 0 / 0.9062 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3918, allocations: 11.98 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3919, allocations: 3.938 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3919, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.3923, allocations: 219.8 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.3923, allocations: 84.95 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.3924, allocations: 7.984 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3926, allocations: 11.94 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.3926, allocations: 3.984 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3927, allocations: 4 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.3927, allocations: 95.2 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.4e-07/0.3928, allocations: 0 / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005527/0.3933, allocations: 40 kB / 0.9067 GB, free: 57.12 MB / 0.6042 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.001124/0.3945, allocations: 0.8172 MB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.3949, allocations: 71.95 kB / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3949, allocations: 0 / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.3951, allocations: 44.05 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3956, allocations: 15.31 kB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3978, allocations: 1.513 MB / 0.9091 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.398, allocations: 0.7028 MB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.3982, allocations: 4 kB / 0.9098 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.3982, allocations: 23.42 kB / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.3983, allocations: 3.938 kB / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.4208, allocations: 2.323 MB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.4211, allocations: 278.5 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/2.965, allocations: 2.031 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)