Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001703/0.001703, allocations: 195.5 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 222 MB, free: 4.734 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 1.72/1.72, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001483/0.001483, allocations: 66.86 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1977, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003019/0.2008, allocations: 1.569 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2022, allocations: 0.7722 MB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.2022, allocations: 0 / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.2023, allocations: 0 / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.2024, allocations: 15.8 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.2029, allocations: 103.8 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.203, allocations: 75.77 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.2031, allocations: 15.98 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.2031, allocations: 23.92 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.2032, allocations: 39.83 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2032, allocations: 4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.2034, allocations: 91.84 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.2035, allocations: 15.98 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.2035, allocations: 31.84 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2037, allocations: 143.9 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2038, allocations: 0 / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2038, allocations: 0 / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2038, allocations: 0 / 0.7856 GB, free: 11.01 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.0005574/0.2043, allocations: 417 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2044, allocations: 8.031 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.2044, allocations: 34.73 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.2045, allocations: 12.84 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.851e-05/0.2046, allocations: 176.2 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2046, allocations: 8.375 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2046, allocations: 4.375 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2048, allocations: 65.78 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2048, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2048, allocations: 7.984 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2048, allocations: 0 / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.205, allocations: 39.98 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.2056, allocations: 320.6 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2057, allocations: 50.56 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.2058, allocations: 28.97 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2058, allocations: 8 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.206, allocations: 71.38 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.206, allocations: 0 / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003679/0.2064, allocations: 137.6 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2064, allocations: 51.41 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.2065, allocations: 133.7 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2066, allocations: 25.7 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.2066, allocations: 96.08 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2066, allocations: 19.86 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.2067, allocations: 33.64 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.2068, allocations: 318.8 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.2069, allocations: 27.98 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.207, allocations: 55.41 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2071, allocations: 91.27 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2071, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.2074, allocations: 121.4 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2074, allocations: 8 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2074, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2074, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.2075, allocations: 11.98 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2075, allocations: 4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.2076, allocations: 4 kB / 0.7879 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.2077, allocations: 7.984 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 8.897e-05/0.2077, allocations: 134.4 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.2078, allocations: 7.906 kB / 0.788 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.2078, allocations: 4.375 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2078, allocations: 0 / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2078, allocations: 4 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2078, allocations: 0 / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.2082, allocations: 374.5 kB / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2083, allocations: 0 / 0.7884 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.2083, allocations: 15.92 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2083, allocations: 0 / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.2083, allocations: 0 / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2083, allocations: 3.938 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2083, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.2086, allocations: 215.4 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.2087, allocations: 81.02 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2087, allocations: 8 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.2088, allocations: 11.86 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.2088, allocations: 4 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2088, allocations: 8 kB / 0.7887 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.2089, allocations: 91.27 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2089, allocations: 0 / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000294/0.2092, allocations: 39.98 kB / 0.7889 GB, free: 7.316 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,occ.y,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.0007213/0.2099, allocations: 0.8137 MB / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.2102, allocations: 71.95 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2102, allocations: 4.062 kB / 0.7897 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2103, allocations: 39.97 kB / 0.7898 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.2105, allocations: 7.922 kB / 0.7898 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.212, allocations: 1.503 MB / 0.7912 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2123, allocations: 0.6887 MB / 0.7919 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.2123, allocations: 11.98 kB / 0.7919 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.2124, allocations: 19.38 kB / 0.7919 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2124, allocations: 4 kB / 0.7919 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2237, allocations: 2.423 MB / 0.7943 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.2239, allocations: 257.2 kB / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.845, allocations: 4 kB / 0.7946 GB, free: 1.469 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)