Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.136/2.136, allocations: 252 MB / 267.3 MB, free: 10.84 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.001577/0.001577, allocations: 170.6 kB / 327 MB, free: 2.074 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.329/3.329, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.001159/0.001159, allocations: 100.7 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004973, allocations: 8.938 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3694, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002169/0.3717, allocations: 1.226 MB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3734, allocations: 0.7642 MB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.3735, allocations: 0 / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.3735, allocations: 3.938 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.3736, allocations: 11.92 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.3742, allocations: 103.8 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3744, allocations: 71.77 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3745, allocations: 8 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.3746, allocations: 31.91 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.3747, allocations: 39.83 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3747, allocations: 8 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.375, allocations: 87.84 kB / 0.9032 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.375, allocations: 15.92 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.3751, allocations: 53.56 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3753, allocations: 127.7 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3754, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3754, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3754, allocations: 0 / 0.9034 GB, free: 60.66 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.0006991/0.3761, allocations: 417.3 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.3762, allocations: 12.03 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3762, allocations: 30.75 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3763, allocations: 8.844 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3764, allocations: 180.2 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.3764, allocations: 4.375 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3765, allocations: 8.359 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3767, allocations: 73.78 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3767, allocations: 4 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3768, allocations: 4 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3768, allocations: 0 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.377, allocations: 47.91 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.3777, allocations: 324.6 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3779, allocations: 46.56 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.378, allocations: 36.97 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.378, allocations: 11.92 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.3783, allocations: 79.39 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.3783, allocations: 0 / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005184/0.3788, allocations: 149.6 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3789, allocations: 51.41 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.379, allocations: 121.8 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.379, allocations: 37.69 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.3791, allocations: 84.14 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3791, allocations: 19.75 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-06/0.3792, allocations: 0 / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.3792, allocations: 322.8 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3794, allocations: 35.98 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3795, allocations: 54.48 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3797, allocations: 78.55 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3797, allocations: 0 / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000294/0.38, allocations: 117.8 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.38, allocations: 4 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3801, allocations: 80 / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3801, allocations: 8.062 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3802, allocations: 23.92 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3802, allocations: 3.984 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.3803, allocations: 4 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3804, allocations: 7.984 kB / 0.9057 GB, free: 58.05 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.0001134/0.3805, allocations: 120.4 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.3805, allocations: 7.906 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.3806, allocations: 16.38 kB / 0.9058 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3806, allocations: 3.938 kB / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3806, allocations: 0 / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3806, allocations: 0 / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.3812, allocations: 390.4 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3812, allocations: 0 / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.3812, allocations: 11.98 kB / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3813, allocations: 0 / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.3813, allocations: 0 / 0.9062 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3813, allocations: 3.938 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3813, allocations: 4 kB / 0.9062 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3816, allocations: 215.3 kB / 0.9064 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.3817, allocations: 88.95 kB / 0.9065 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3817, allocations: 4 kB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3819, allocations: 15.86 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.3819, allocations: 4 kB / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3819, allocations: 4 kB / 0.9065 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.382, allocations: 91.92 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.382, allocations: 0 / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004499/0.3825, allocations: 39.98 kB / 0.9067 GB, free: 56.95 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.0009553/0.3834, allocations: 0.8094 MB / 0.9075 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.3838, allocations: 75.95 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3838, allocations: 0 / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3839, allocations: 39.92 kB / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3843, allocations: 20.05 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.3863, allocations: 1.521 MB / 0.9091 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.3865, allocations: 0.6986 MB / 0.9098 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.3866, allocations: 8 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.3866, allocations: 15.44 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.3866, allocations: 0 / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4057, allocations: 2.329 MB / 0.9121 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.4061, allocations: 273.1 kB / 0.9123 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/2.895, allocations: 4 kB / 0.9123 GB, free: 51.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)