Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.00155/0.00155, allocations: 100.1 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.002218/0.002218, 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 2.894/2.894, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.769/2.769, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.001134/0.001135, allocations: 14.92 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5008, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003309/0.5042, allocations: 1.278 MB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.5064, allocations: 0.7611 MB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.5065, allocations: 3.938 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.5066, allocations: 7.984 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.5067, allocations: 19.91 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/0.5076, allocations: 107.7 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.5078, allocations: 83.81 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.508, allocations: 12 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.5082, allocations: 55.81 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.5083, allocations: 67.78 kB / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.5084, allocations: 7.938 kB / 0.7896 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.5087, allocations: 71.88 kB / 0.7896 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.5088, allocations: 19.95 kB / 0.7897 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.5088, allocations: 41.64 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.5091, allocations: 143.9 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5092, allocations: 0 / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5092, allocations: 0 / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.5092, allocations: 4 kB / 0.7898 GB, free: 9.188 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001066/0.5103, allocations: 470.3 kB / 0.7903 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.5103, allocations: 8.031 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.316e-05/0.5104, allocations: 34.56 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.5105, allocations: 15.75 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.5107, allocations: 183.5 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.5108, allocations: 8 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.5108, allocations: 8 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.5112, allocations: 97.62 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5113, allocations: 3.938 kB / 0.7906 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.5113, allocations: 3.984 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5113, allocations: 4 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.5116, allocations: 75.89 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.5131, allocations: 372.6 kB / 0.7911 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.5134, allocations: 70.55 kB / 0.7911 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.5135, allocations: 4 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.514, allocations: 111.3 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.997e-06/0.514, allocations: 0 / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.00103/0.515, allocations: 229.4 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.5151, allocations: 59.36 kB / 0.7915 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.5154, allocations: 145.5 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.5154, allocations: 34.08 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.5156, allocations: 92.38 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.5156, allocations: 27.78 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.5157, allocations: 8 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.5159, allocations: 326.8 kB / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.5161, allocations: 47.97 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.5163, allocations: 77.64 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.5165, allocations: 51.92 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5165, allocations: 0 / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004953/0.5171, allocations: 169.5 kB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5171, allocations: 8 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5171, allocations: 0 / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5171, allocations: 0 / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.5173, allocations: 23.92 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.5174, allocations: 7.953 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.5175, allocations: 23.98 kB / 0.7925 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.5176, allocations: 4.109 kB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001769/0.5178, allocations: 125.7 kB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.5178, allocations: 11.95 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.5179, allocations: 16.69 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5179, allocations: 0 / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5179, allocations: 4 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5179, allocations: 7.953 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009135/0.5188, allocations: 462.4 kB / 0.7931 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5189, allocations: 4 kB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.519, allocations: 15.98 kB / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.519, allocations: 0 / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.519, allocations: 0 / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/0.519, allocations: 3.953 kB / 0.7931 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.519, allocations: 0 / 0.7931 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.5197, allocations: 279.3 kB / 0.7934 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.464e-05/0.5198, allocations: 88.92 kB / 0.7935 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.5198, allocations: 192 / 0.7935 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.52, allocations: 11.98 kB / 0.7935 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.5201, allocations: 15.89 kB / 0.7935 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.5202, allocations: 3.984 kB / 0.7935 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001444/0.5203, allocations: 103.8 kB / 0.7936 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5204, allocations: 4 kB / 0.7936 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006878/0.5211, allocations: 47.98 kB / 0.7937 GB, free: 4.906 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001596/0.5227, allocations: 0.8748 MB / 0.7945 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.5233, allocations: 119.9 kB / 0.7946 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.5233, allocations: 0 / 0.7946 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.5235, allocations: 64 kB / 0.7947 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.5239, allocations: 11.95 kB / 0.7947 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.5256, allocations: 1.084 MB / 0.7958 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.526, allocations: 0.7043 MB / 0.7965 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.664e-05/0.5262, allocations: 12.06 kB / 0.7965 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.5263, allocations: 27.42 kB / 0.7965 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.5263, allocations: 0 / 0.7965 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.5564, allocations: 2.98 MB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004064/0.5569, allocations: 239.8 kB / 0.7996 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/4.149, allocations: 0 / 0.7996 GB, free: 14.87 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) Environment - environmentSimulation: