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.001122/0.001122, 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.001205/0.001205, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.172/1.172, 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.577/1.577, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001352/0.001352, allocations: 70.75 kB / 0.6711 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.219, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002635/0.2217, allocations: 1.557 MB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2228, allocations: 0.7683 MB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.2228, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.2229, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.2229, allocations: 11.88 kB / 0.7853 GB, free: 11.45 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.000461/0.2234, allocations: 111.8 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.2235, allocations: 67.84 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.2236, allocations: 19.98 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.2237, allocations: 35.84 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.2237, allocations: 35.89 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.2238, allocations: 8 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.2239, allocations: 95.84 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.2239, allocations: 23.86 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.224, allocations: 27.86 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2242, allocations: 139.9 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2242, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2242, allocations: 4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2242, allocations: 0 / 0.7858 GB, free: 10.89 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.0005163/0.2247, allocations: 413 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2248, allocations: 12.03 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.2248, allocations: 30.75 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.2249, allocations: 8.844 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.225, allocations: 192 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.225, allocations: 12.38 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.225, allocations: 384 / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2252, allocations: 69.78 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.2252, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2252, allocations: 4 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2252, allocations: 4 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.2253, allocations: 35.97 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.2259, allocations: 316.6 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.226, allocations: 58.53 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.2261, allocations: 28.97 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2261, allocations: 0 / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.2263, allocations: 83.44 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2263, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000345/0.2266, allocations: 137.6 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2266, allocations: 51.41 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.2267, allocations: 125.7 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2268, allocations: 29.7 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.2268, allocations: 96.08 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.2268, allocations: 15.81 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.2269, allocations: 25.7 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.227, allocations: 322.8 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.2271, allocations: 27.98 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.2271, allocations: 46.55 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2273, allocations: 82.73 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2273, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002208/0.2275, allocations: 117.5 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2275, allocations: 4 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2276, allocations: 4 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2276, allocations: 4.062 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.2277, allocations: 15.92 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2277, allocations: 0 / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.2278, allocations: 7.938 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2278, allocations: 7.984 kB / 0.7881 GB, free: 8.289 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 7.906e-05/0.2279, allocations: 122.4 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.2279, allocations: 7.906 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.2279, allocations: 8.375 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2279, allocations: 4 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2279, allocations: 0 / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2279, allocations: 0 / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.2283, allocations: 386.3 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2283, allocations: 0 / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.2284, allocations: 11.98 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2284, allocations: 0 / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2284, allocations: 4 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2284, allocations: 7.938 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2284, allocations: 0 / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2287, allocations: 211.3 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.2287, allocations: 85.02 kB / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2287, allocations: 0 / 0.7889 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.2288, allocations: 11.92 kB / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.2289, allocations: 0 / 0.7889 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2289, allocations: 8 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.2289, allocations: 95.27 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2289, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002714/0.2292, allocations: 43.92 kB / 0.789 GB, free: 7.203 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.0006674/0.2299, allocations: 0.7973 MB / 0.7898 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2301, allocations: 83.86 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2301, allocations: 0 / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.2302, allocations: 35.92 kB / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2305, allocations: 16.05 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2319, allocations: 1.493 MB / 0.7914 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2321, allocations: 0.6885 MB / 0.7921 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.2321, allocations: 4 kB / 0.7921 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.2322, allocations: 23.42 kB / 0.7921 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2322, allocations: 0 / 0.7921 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.675/1.907, allocations: 2.487 MB / 0.7945 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/1.908, allocations: 253.4 kB / 0.7948 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/3.856, allocations: 0.625 kB / 0.7948 GB, free: 1.309 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/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)