Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.11/2.11, allocations: 252 MB / 267.3 MB, free: 10.86 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.002458/0.002459, allocations: 170.7 kB / 327 MB, free: 2.113 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.665/3.665, 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.001229/0.001229, allocations: 96.64 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006095/0.0006098, allocations: 12.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3234, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001874/0.3253, allocations: 1.223 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3267, allocations: 0.7758 MB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.3268, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.3268, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.3269, allocations: 7.875 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.3275, allocations: 103.8 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3277, allocations: 71.78 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.3278, allocations: 15.98 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.747e-05/0.3279, allocations: 31.91 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.328, allocations: 39.83 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.328, allocations: 0 / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.3282, allocations: 91.84 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.3282, allocations: 11.92 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.3283, allocations: 57.56 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3286, allocations: 127.7 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3286, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3286, allocations: 0 / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3286, allocations: 0 / 0.9034 GB, free: 60.84 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.000565/0.3292, allocations: 413.3 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 8.866e-05/0.3293, allocations: 12.03 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.3293, allocations: 30.75 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3293, allocations: 8.844 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.351e-05/0.3294, allocations: 184.1 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3295, allocations: 4.375 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3295, allocations: 4.375 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3297, allocations: 77.78 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3297, allocations: 0 / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3297, allocations: 4 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3297, allocations: 0 / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.3299, allocations: 43.97 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.3305, allocations: 324.6 kB / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3306, allocations: 46.56 kB / 0.9045 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.3307, allocations: 40.97 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3307, allocations: 3.938 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.3309, allocations: 83.38 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.3309, allocations: 0 / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003897/0.3313, allocations: 157.5 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3314, allocations: 51.41 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.952e-05/0.3315, allocations: 125.7 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.3315, allocations: 29.7 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.3315, allocations: 92.12 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3316, allocations: 19.75 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.3316, allocations: 4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.3316, allocations: 322.8 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.3317, allocations: 27.98 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.3318, allocations: 54.55 kB / 0.9055 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.332, allocations: 78.5 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.332, allocations: 0 / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000228/0.3322, allocations: 125.5 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3323, allocations: 4 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3323, allocations: 4 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3323, allocations: 0 / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3324, allocations: 23.91 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3324, allocations: 0 / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.3325, allocations: 8 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3325, allocations: 7.984 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 8.443e-05/0.3326, allocations: 121.8 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.3326, allocations: 7.906 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.3327, allocations: 12.38 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3327, allocations: 3.938 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3327, allocations: 0 / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3327, allocations: 0 / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.3331, allocations: 394.4 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3331, allocations: 0 / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.3332, allocations: 7.984 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3332, allocations: 0 / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3332, allocations: 0 / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3332, allocations: 3.938 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3332, allocations: 0 / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3335, allocations: 219.3 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.3335, allocations: 88.95 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3335, allocations: 4 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.3336, allocations: 7.938 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.3337, allocations: 7.984 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3337, allocations: 0 / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.3337, allocations: 99.27 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3337, allocations: 3.938 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002965/0.334, allocations: 39.98 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.0007024/0.3347, allocations: 0.7998 MB / 0.9075 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.335, allocations: 83.88 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.335, allocations: 128 / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.3351, allocations: 43.92 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.0002664/0.3354, allocations: 15.92 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.001347/0.3367, 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.0001378/0.3369, allocations: 0.6964 MB / 0.9098 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.3369, allocations: 7.969 kB / 0.9098 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.337, allocations: 20.31 kB / 0.9098 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.337, allocations: 0 / 0.9098 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.3513, allocations: 2.338 MB / 0.9121 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.3516, allocations: 264.4 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.68, allocations: 4.062 kB / 0.9123 GB, free: 51.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)