Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001226/0.001227, allocations: 99.78 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.001554/0.001555, allocations: 177.3 kB / 15.95 MB, free: 216 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.032/3.032, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.038/3.038, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0008475/0.000848, allocations: 13.66 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5076, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00266/0.5103, allocations: 1.196 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.5121, allocations: 0.7221 MB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.5122, allocations: 0 / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.5122, allocations: 3.938 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.5123, allocations: 11.97 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.513, allocations: 91.77 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.5131, allocations: 43.89 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5133, allocations: 11.98 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.5134, allocations: 31.91 kB / 0.7893 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.5135, allocations: 31.88 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.5135, allocations: 4 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.5138, allocations: 71.83 kB / 0.7894 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.5138, allocations: 23.91 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.5139, allocations: 33.64 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.5141, allocations: 100 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5141, allocations: 0 / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5142, allocations: 0 / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5142, allocations: 0 / 0.7895 GB, free: 9.484 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.0008056/0.515, allocations: 404.8 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.515, allocations: 8.031 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.5151, allocations: 42.55 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.5152, allocations: 7.906 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.5153, allocations: 174.9 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.5154, allocations: 4 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.5154, allocations: 7.938 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.5157, allocations: 73.64 kB / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5157, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5157, allocations: 0 / 0.7902 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5158, allocations: 3.984 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.516, allocations: 47.97 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.5168, allocations: 324.7 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.517, allocations: 50.5 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.517, allocations: 4 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.5173, allocations: 79.5 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.5173, allocations: 4 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005526/0.5179, allocations: 149.5 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.518, allocations: 59.36 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.5181, allocations: 125.8 kB / 0.791 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.5182, allocations: 25.7 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.5182, allocations: 96.27 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.5183, allocations: 15.8 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.5183, allocations: 0 / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5185, allocations: 318.8 kB / 0.7915 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.5186, allocations: 27.98 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.5187, allocations: 54.55 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.5189, allocations: 31.98 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5189, allocations: 0 / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003455/0.5192, allocations: 125.5 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.5193, allocations: 8 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5193, allocations: 3.938 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5193, allocations: 0 / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.5195, allocations: 11.94 kB / 0.7917 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5195, allocations: 11.94 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.5196, allocations: 4 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.5196, allocations: 11.94 kB / 0.7918 GB, free: 6.973 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.0001397/0.5198, allocations: 120.6 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.5198, allocations: 7.906 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.5199, allocations: 12.36 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5199, allocations: 4 kB / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5199, allocations: 0 / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5199, allocations: 7.953 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.5205, allocations: 382.4 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5206, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.5206, allocations: 4 kB / 0.7923 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.5206, allocations: 4 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.5207, allocations: 3.984 kB / 0.7923 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5207, allocations: 3.953 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5207, allocations: 0 / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.5211, allocations: 223.3 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.5212, allocations: 81.02 kB / 0.7926 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.5212, allocations: 7.984 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.5214, allocations: 4 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.5215, allocations: 11.94 kB / 0.7926 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.5215, allocations: 4 kB / 0.7926 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.5216, allocations: 95.27 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.5216, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005242/0.5221, allocations: 36 kB / 0.7927 GB, free: 5.883 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.001164/0.5233, allocations: 0.8203 MB / 0.7935 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5236, allocations: 75.95 kB / 0.7936 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5236, allocations: 0 / 0.7936 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.5238, allocations: 48.03 kB / 0.7936 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5241, allocations: 7.953 kB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5252, allocations: 0.713 MB / 0.7943 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5256, allocations: 0.6926 MB / 0.795 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.148e-05/0.5257, allocations: 8.188 kB / 0.795 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.5257, allocations: 23.36 kB / 0.7951 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.5257, allocations: 0 / 0.7951 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.5487, allocations: 2.297 MB / 0.7973 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003689/0.5491, allocations: 234.7 kB / 0.7975 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/3.698, allocations: 0 / 0.7975 GB, free: 1.023 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: