Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.0009799/0.00098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00103/0.00103, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.417/1.417, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.597/1.597, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001434/0.001434, allocations: 67.97 kB / 0.6711 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1747, allocations: 114.6 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002568/0.1773, allocations: 1.554 MB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1785, allocations: 0.7605 MB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.1785, allocations: 4 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.1786, allocations: 0 / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.1787, allocations: 11.92 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1792, allocations: 103.8 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.767e-05/0.1793, allocations: 79.77 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.1794, allocations: 12 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1794, allocations: 39.84 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.1795, allocations: 35.89 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1795, allocations: 11.94 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.1797, allocations: 95.84 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.1797, allocations: 23.91 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1798, allocations: 27.86 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.18, allocations: 139.9 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.18, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.18, allocations: 4 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.18, allocations: 0 / 0.7858 GB, free: 10.91 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.0005513/0.1806, allocations: 417 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1806, allocations: 12.03 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.1807, allocations: 30.75 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.1807, allocations: 8.844 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1808, allocations: 180.1 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1808, allocations: 12.36 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1809, allocations: 384 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.181, allocations: 73.77 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1811, allocations: 8 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1811, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1811, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1812, allocations: 35.97 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.1818, allocations: 312.6 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1819, allocations: 54.56 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.182, allocations: 28.97 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.182, allocations: 0 / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.1822, allocations: 75.38 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1822, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003669/0.1826, allocations: 149.6 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1826, allocations: 51.41 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.1827, allocations: 125.7 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1828, allocations: 29.7 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.1828, allocations: 96.06 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.1828, allocations: 15.81 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.1829, allocations: 25.7 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.183, allocations: 326.8 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.944e-05/0.1831, allocations: 27.98 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.1832, allocations: 46.5 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.1833, allocations: 82.78 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1833, allocations: 0 / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002256/0.1836, allocations: 117.5 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1836, allocations: 4 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.1836, allocations: 4 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.1836, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.1837, allocations: 15.92 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1837, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.1838, allocations: 12 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1838, allocations: 4 kB / 0.7881 GB, free: 8.309 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,win.curSeed,$PRE.win.curSeed,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.663e-05/0.1839, allocations: 124.9 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1839, allocations: 11.91 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.184, allocations: 8.375 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.184, allocations: 0 / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.184, allocations: 3.984 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.184, allocations: 0 / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.1844, allocations: 386.4 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1844, allocations: 0 / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.1845, allocations: 7.984 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1845, allocations: 0 / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1845, allocations: 4 kB / 0.7886 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1845, allocations: 3.938 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1845, allocations: 0 / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1848, allocations: 215.4 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.1848, allocations: 85.02 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1848, allocations: 4 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.1849, allocations: 7.938 kB / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.185, allocations: 7.922 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.185, allocations: 4 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.1851, allocations: 95.27 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.493e-06/0.1851, allocations: 0 / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002809/0.1853, allocations: 39.94 kB / 0.789 GB, free: 7.223 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 (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.0007198/0.1861, allocations: 0.799 MB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1863, allocations: 79.88 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1863, allocations: 0 / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.1864, allocations: 39.91 kB / 0.7899 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1867, allocations: 11.92 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1881, allocations: 1.493 MB / 0.7914 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1884, allocations: 0.6924 MB / 0.7921 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.1884, allocations: 7.938 kB / 0.7921 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.1885, allocations: 23.42 kB / 0.7921 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1885, allocations: 0 / 0.7921 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.2, allocations: 2.481 MB / 0.7945 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.2002, allocations: 252.8 kB / 0.7948 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.866, allocations: 2.375 kB / 0.7948 GB, free: 1.328 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)