Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001491/0.001491, allocations: 100.5 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.001863/0.001863, 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.393/3.393, allocations: 205.4 MB / 222.1 MB, free: 5.641 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 2.931/2.931, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0009483/0.0009486, allocations: 18 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5057, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003405/0.5092, allocations: 1.2 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.5116, allocations: 0.726 MB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.5117, allocations: 0 / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.5117, allocations: 3.938 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.5118, allocations: 7.969 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008876/0.5127, allocations: 95.75 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.5129, allocations: 47.89 kB / 0.7892 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.5131, allocations: 7.984 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.5132, allocations: 27.91 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.5134, allocations: 35.89 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.5134, allocations: 4 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.5137, allocations: 71.81 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.5137, allocations: 11.98 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.5138, allocations: 41.64 kB / 0.7894 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.5141, allocations: 100 kB / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5141, allocations: 0 / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5141, allocations: 0 / 0.7895 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5141, allocations: 3.938 kB / 0.7895 GB, free: 9.473 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.000939/0.5151, allocations: 408.8 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/0.5152, allocations: 8.031 kB / 0.7899 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.5153, allocations: 34.55 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.5153, allocations: 11.91 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.5156, allocations: 174.9 kB / 0.7901 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.5156, allocations: 11.94 kB / 0.7902 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.5157, allocations: 4 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.516, allocations: 65.66 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.516, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.516, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.516, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.5162, allocations: 51.97 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.5172, allocations: 324.7 kB / 0.7906 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.5174, allocations: 58.5 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.5174, allocations: 4 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.5177, allocations: 75.5 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.5178, allocations: 0 / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005898/0.5184, allocations: 149.5 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.5185, allocations: 59.36 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.5187, allocations: 121.8 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.5187, allocations: 29.7 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5188, allocations: 96.33 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.5189, allocations: 19.8 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.5189, allocations: 4 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.5191, allocations: 318.8 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.5192, allocations: 23.98 kB / 0.7915 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.5194, allocations: 50.55 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.5196, allocations: 39.98 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5196, allocations: 0 / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003947/0.52, allocations: 113.5 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.5201, allocations: 8.062 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5201, allocations: 7.938 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.5201, allocations: 0 / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.5203, allocations: 11.94 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.5203, allocations: 11.94 kB / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.5204, allocations: 8 kB / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5205, allocations: 4 kB / 0.7917 GB, free: 6.969 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.0002165/0.5207, allocations: 117.8 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.5207, allocations: 7.906 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.5208, allocations: 12.36 kB / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5208, allocations: 0 / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5208, allocations: 7.938 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5209, allocations: 3.953 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008641/0.5217, allocations: 386.4 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5217, allocations: 4 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.5218, allocations: 8 kB / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5218, allocations: 0 / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5219, allocations: 7.984 kB / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5219, allocations: 3.953 kB / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5219, allocations: 0 / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.5224, allocations: 215.8 kB / 0.7925 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/0.5225, allocations: 81.02 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.5225, allocations: 11.98 kB / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.5227, allocations: 4 kB / 0.7926 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.5228, allocations: 7.938 kB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.5228, allocations: 4 kB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001176/0.5229, allocations: 91.27 kB / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5229, allocations: 4 kB / 0.7927 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005891/0.5235, allocations: 36 kB / 0.7927 GB, free: 5.875 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.001464/0.525, allocations: 0.8245 MB / 0.7935 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004043/0.5254, allocations: 71.97 kB / 0.7936 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5255, allocations: 0 / 0.7936 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5256, allocations: 48.03 kB / 0.7936 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.526, allocations: 7.953 kB / 0.7936 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.5274, allocations: 0.713 MB / 0.7943 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.5279, allocations: 0.6965 MB / 0.795 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.166e-05/0.528, allocations: 4.188 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.5281, allocations: 23.42 kB / 0.795 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.5281, allocations: 0 / 0.795 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05137/0.5795, allocations: 2.299 MB / 0.7973 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/0.5799, allocations: 237.8 kB / 0.7975 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/3.931, allocations: 3.938 kB / 0.7975 GB, free: 1.031 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) Environment - environmentSimulation: