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.001198/0.001198, 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.001582/0.001582, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.992 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.663/1.663, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001355/0.001355, allocations: 70.42 kB / 0.6709 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2021, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002434/0.2046, allocations: 1.655 MB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2058, allocations: 0.8151 MB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.2058, allocations: 0 / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.2059, allocations: 3.938 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.2059, allocations: 19.84 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.2064, allocations: 127.7 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.2066, allocations: 127.6 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.2066, allocations: 20.25 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.2067, allocations: 51.78 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.2069, allocations: 71.7 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.2069, allocations: 12 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.2071, allocations: 91.91 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.2071, allocations: 23.91 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.2072, allocations: 51.77 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.2074, allocations: 187.4 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2074, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.61e-07/0.2074, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2074, allocations: 0 / 0.786 GB, free: 10.65 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.0006859/0.2081, allocations: 490.3 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2082, allocations: 8.031 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.2082, allocations: 38.75 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.2083, allocations: 8.844 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2084, allocations: 188.7 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2084, allocations: 8.375 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2084, allocations: 7.938 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.2086, allocations: 97.5 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2087, allocations: 0 / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2087, allocations: 12 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2087, allocations: 0 / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2089, allocations: 59.95 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.2097, allocations: 376.5 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2099, allocations: 70.48 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.21, allocations: 52.83 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.21, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.2102, allocations: 103.5 kB / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2103, allocations: 0 / 0.7874 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005349/0.2108, allocations: 209.4 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2108, allocations: 63.39 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.211, allocations: 139.5 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.211, allocations: 37.64 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.211, allocations: 100.3 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.2111, allocations: 27.73 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.2111, allocations: 29.7 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.2112, allocations: 326.8 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2114, allocations: 31.98 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2115, allocations: 76.25 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.2117, allocations: 112.2 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2117, allocations: 0 / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003135/0.212, allocations: 169.3 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2121, allocations: 4 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2121, allocations: 4.062 kB / 0.7887 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2121, allocations: 4 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.2122, allocations: 19.92 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2123, allocations: 4.375 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2124, allocations: 11.98 kB / 0.7887 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2124, allocations: 4 kB / 0.7887 GB, free: 7.539 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.2125, allocations: 130.5 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.2125, allocations: 11.84 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.2125, allocations: 16.7 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2126, allocations: 3.938 kB / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2126, allocations: 0 / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2126, allocations: 0 / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.2131, allocations: 466.3 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2132, allocations: 0 / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.2132, allocations: 11.92 kB / 0.7893 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2132, allocations: 0 / 0.7893 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2133, allocations: 4.109 kB / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2133, allocations: 3.938 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2133, allocations: 0 / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.2137, allocations: 271.3 kB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.2137, allocations: 84.95 kB / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2137, allocations: 4 kB / 0.7897 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2139, allocations: 7.984 kB / 0.7897 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.2139, allocations: 11.94 kB / 0.7897 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2139, allocations: 3.984 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.214, allocations: 107 kB / 0.7898 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.214, allocations: 4 kB / 0.7898 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002906/0.2143, allocations: 47.98 kB / 0.7899 GB, free: 6.273 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 (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.000818/0.2151, allocations: 0.8805 MB / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.2154, allocations: 107.9 kB / 0.7908 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2154, allocations: 0 / 0.7908 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.2156, allocations: 63.89 kB / 0.7909 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2159, allocations: 8 kB / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2176, allocations: 1.723 MB / 0.7926 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2178, allocations: 0.7043 MB / 0.7933 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.2179, allocations: 4 kB / 0.7933 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.218, allocations: 31.36 kB / 0.7933 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.218, allocations: 0 / 0.7933 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2296, allocations: 3.121 MB / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.2298, allocations: 262.9 kB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.878, allocations: 0 / 0.7966 GB, free: 15.3 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/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)