Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001908/0.001908, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.221/3.221, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.233/3.233, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009096/0.0009102, allocations: 20.56 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3976, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003018/0.4007, allocations: 1.2 MB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.4025, allocations: 0.7182 MB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.4026, allocations: 4 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.4026, allocations: 3.938 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.4027, allocations: 7.969 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.4034, allocations: 91.77 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.4035, allocations: 47.88 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4036, allocations: 11.98 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.4037, allocations: 27.91 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.4038, allocations: 31.91 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.4038, allocations: 4 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.404, allocations: 75.8 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.4041, allocations: 7.984 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.4041, allocations: 41.64 kB / 0.7894 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.4043, allocations: 100 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4043, allocations: 0 / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.454e-06/0.4043, allocations: 4 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4044, allocations: 3.938 kB / 0.7895 GB, free: 9.445 MB / 0.6075 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.000814/0.4052, allocations: 404.8 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4052, allocations: 12.03 kB / 0.7899 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.4053, allocations: 30.56 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.4053, allocations: 11.91 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.4056, allocations: 178.9 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4056, allocations: 11.94 kB / 0.7902 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.4056, allocations: 8 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4058, allocations: 65.66 kB / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4058, allocations: 0 / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.4059, allocations: 4 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4059, allocations: 0 / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.406, allocations: 47.97 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.4068, allocations: 316.7 kB / 0.7906 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.407, allocations: 58.5 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.407, allocations: 3.984 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4072, allocations: 71.52 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.4072, allocations: 4 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004247/0.4077, allocations: 157.5 kB / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.4077, allocations: 59.36 kB / 0.7909 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.4078, allocations: 113.8 kB / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4079, allocations: 37.69 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.4079, allocations: 88.27 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.408, allocations: 15.81 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.408, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4081, allocations: 326.8 kB / 0.7915 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.4082, allocations: 23.98 kB / 0.7915 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.4083, allocations: 50.55 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.4086, allocations: 36 kB / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4086, allocations: 0 / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.4088, allocations: 117.8 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4089, allocations: 4 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4089, allocations: 7.938 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4089, allocations: 0 / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.409, allocations: 23.98 kB / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.409, allocations: 7.953 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.4091, allocations: 7.984 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4091, allocations: 4 kB / 0.7918 GB, free: 6.941 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.4094, allocations: 113.8 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.4094, allocations: 7.906 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4095, allocations: 8.375 kB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4095, allocations: 4 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4095, allocations: 3.938 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4095, allocations: 11.94 kB / 0.7919 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.41, allocations: 386.4 kB / 0.7923 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.41, allocations: 3.984 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.4101, allocations: 4 kB / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4101, allocations: 4 kB / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4101, allocations: 4 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4101, allocations: 3.953 kB / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4101, allocations: 0 / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.4105, allocations: 219.3 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.4106, allocations: 85.02 kB / 0.7926 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.4106, allocations: 4 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.4107, allocations: 11.98 kB / 0.7926 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4107, allocations: 3.953 kB / 0.7926 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4108, allocations: 11.98 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.4108, allocations: 87.28 kB / 0.7927 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4108, allocations: 0 / 0.7927 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003166/0.4111, allocations: 39.98 kB / 0.7927 GB, free: 5.844 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008833/0.412, allocations: 0.8138 MB / 0.7935 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.4123, allocations: 71.97 kB / 0.7936 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4123, allocations: 0 / 0.7936 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4124, allocations: 40.39 kB / 0.7936 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.4126, allocations: 16.06 kB / 0.7936 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.4136, allocations: 0.7163 MB / 0.7943 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4139, allocations: 0.6926 MB / 0.795 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.414, allocations: 12.16 kB / 0.795 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.414, allocations: 19.44 kB / 0.795 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.414, allocations: 0 / 0.795 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/0.6024, allocations: 2.303 MB / 0.7973 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003873/0.6029, allocations: 235.4 kB / 0.7975 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.713, allocations: 4.625 kB / 0.7975 GB, free: 0.9844 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) Environment - environmentSimulation: