Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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 2.267/2.267, allocations: 252 MB / 267.3 MB, free: 10.81 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.002594/0.002594, allocations: 172.1 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.495/3.495, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.001218/0.001218, allocations: 90.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005623/0.0005629, allocations: 9.406 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3653, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002356/0.3677, allocations: 1.215 MB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3695, allocations: 0.7758 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.3696, allocations: 4 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.3696, allocations: 0 / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.3697, allocations: 11.86 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.3705, allocations: 99.77 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3706, allocations: 71.78 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3708, allocations: 23.95 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3709, allocations: 27.92 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.371, allocations: 27.84 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3711, allocations: 7.984 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.3713, allocations: 91.86 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.3714, allocations: 15.91 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.3715, allocations: 53.56 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.3718, allocations: 131.7 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3718, allocations: 4 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3718, allocations: 0 / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.3718, allocations: 0 / 0.9034 GB, free: 60.82 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.0006988/0.3726, allocations: 405.3 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.3726, allocations: 8.031 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.3727, allocations: 38.75 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3727, allocations: 8.844 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3728, allocations: 184.1 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.3729, allocations: 4.375 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.3729, allocations: 8.375 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3732, allocations: 69.78 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3732, allocations: 4 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3733, allocations: 0 / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3733, allocations: 0 / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.3735, allocations: 47.97 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.3743, allocations: 320.6 kB / 0.9045 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3745, allocations: 54.55 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.3747, allocations: 32.97 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.3747, allocations: 11.94 kB / 0.9046 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.375, allocations: 75.38 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.055e-06/0.375, allocations: 4 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005883/0.3756, allocations: 149.6 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3757, allocations: 51.41 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3758, allocations: 129.7 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3758, allocations: 25.7 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.3759, allocations: 96.14 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.376, allocations: 15.75 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.376, allocations: 4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3761, allocations: 326.7 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3763, allocations: 27.98 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3764, allocations: 54.55 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.3767, allocations: 74.5 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3767, allocations: 3.984 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003575/0.3771, allocations: 121.5 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3771, allocations: 8 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3771, allocations: 0 / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3772, allocations: 3.984 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3773, allocations: 15.94 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3774, allocations: 0 / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3775, allocations: 16.05 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.3775, allocations: 4 kB / 0.9057 GB, free: 58.21 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.0001374/0.3777, allocations: 119.8 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3777, allocations: 7.906 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.3778, allocations: 8.375 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3778, allocations: 11.92 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3778, allocations: 0 / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3778, allocations: 0 / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.3784, allocations: 386.4 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3784, allocations: 4 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.3785, allocations: 8 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3785, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3785, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3785, allocations: 3.938 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3786, allocations: 3.984 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.3789, allocations: 223.8 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.379, allocations: 88.95 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.379, allocations: 0 / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3792, allocations: 11.92 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.3793, allocations: 15.98 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3793, allocations: 3.984 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.3794, allocations: 95.27 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3794, allocations: 0 / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005194/0.3799, allocations: 36 kB / 0.9067 GB, free: 57.11 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.0009346/0.3809, allocations: 0.7967 MB / 0.9075 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3812, allocations: 83.95 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3812, allocations: 0 / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.3814, allocations: 43.91 kB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.3818, allocations: 7.938 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.3838, allocations: 1.516 MB / 0.9091 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.384, allocations: 0.6964 MB / 0.9098 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.704e-05/0.3841, 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.367e-05/0.3842, allocations: 23.42 kB / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.3842, allocations: 0 / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.4069, allocations: 2.337 MB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.4072, allocations: 265.8 kB / 0.9123 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/2.958, allocations: 7.938 kB / 0.9123 GB, free: 51.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)