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.0009412/0.0009413, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007113/0.007113, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.232/1.232, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.667/1.667, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005491/0.0005492, allocations: 13.56 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001607/0.2332, allocations: 1.313 MB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2345, allocations: 0.7996 MB / 0.7901 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2345, allocations: 0 / 0.7901 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2346, allocations: 3.938 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.2346, allocations: 15.84 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.2352, allocations: 127.7 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.2353, allocations: 123.6 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.2354, allocations: 20.27 kB / 0.7903 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.2355, allocations: 51.83 kB / 0.7904 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2356, allocations: 71.72 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2357, allocations: 4 kB / 0.7905 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.2359, allocations: 95.84 kB / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.2359, allocations: 19.91 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.236, allocations: 73.47 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.2363, allocations: 195.4 kB / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2363, allocations: 0 / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2363, allocations: 0 / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2363, allocations: 0 / 0.7908 GB, free: 8.535 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.0006751/0.237, allocations: 462.5 kB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.237, allocations: 12.03 kB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.2371, allocations: 42.67 kB / 0.7913 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.2371, allocations: 16.75 kB / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2372, allocations: 184.7 kB / 0.7915 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2372, allocations: 4.375 kB / 0.7915 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2373, allocations: 15.92 kB / 0.7915 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.2375, allocations: 97.62 kB / 0.7916 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2375, allocations: 0 / 0.7916 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2376, allocations: 0 / 0.7916 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2376, allocations: 4 kB / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.2378, allocations: 75.89 kB / 0.7917 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.2386, allocations: 380.6 kB / 0.7921 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.2388, allocations: 70.55 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2389, allocations: 60.83 kB / 0.7922 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.239, allocations: 4 kB / 0.7922 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.2392, allocations: 107.3 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2392, allocations: 4 kB / 0.7923 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005437/0.2398, allocations: 221.5 kB / 0.7925 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2398, allocations: 55.39 kB / 0.7926 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2399, allocations: 153 kB / 0.7927 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.24, allocations: 25.81 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.24, allocations: 108.4 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2401, allocations: 23.73 kB / 0.7929 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.2401, allocations: 22.08 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.2402, allocations: 322.8 kB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2403, allocations: 47.97 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2405, allocations: 79.64 kB / 0.7933 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.2407, allocations: 124.1 kB / 0.7934 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2407, allocations: 3.938 kB / 0.7934 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003334/0.2411, allocations: 173.4 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2411, allocations: 4 kB / 0.7936 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2411, allocations: 0 / 0.7936 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2411, allocations: 4 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2413, allocations: 27.86 kB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2413, allocations: 96 / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2414, allocations: 15.98 kB / 0.7937 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2414, allocations: 8 kB / 0.7937 GB, free: 5.367 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 0.0001151/0.2416, allocations: 127.5 kB / 0.7938 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2416, allocations: 15.8 kB / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.2416, allocations: 12.78 kB / 0.7938 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2416, allocations: 7.938 kB / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2417, allocations: 7.938 kB / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2417, allocations: 4.031 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.2423, allocations: 462.4 kB / 0.7943 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2423, allocations: 0 / 0.7943 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.2424, allocations: 19.92 kB / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2424, allocations: 0 / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2424, allocations: 8 kB / 0.7943 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2424, allocations: 0 / 0.7943 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2424, allocations: 0 / 0.7943 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.2428, allocations: 279.3 kB / 0.7946 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2429, allocations: 88.95 kB / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2429, allocations: 0 / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.243, allocations: 11.98 kB / 0.7947 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2431, allocations: 7.984 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.2431, allocations: 4.188 kB / 0.7947 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.544e-05/0.2432, allocations: 111.2 kB / 0.7948 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2432, allocations: 7.875 kB / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003175/0.2435, allocations: 47.91 kB / 0.7948 GB, free: 4.07 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.000944/0.2445, allocations: 0.8639 MB / 0.7957 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.2448, allocations: 127.9 kB / 0.7958 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2448, allocations: 0 / 0.7958 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.245, allocations: 59.97 kB / 0.7959 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2453, allocations: 16.2 kB / 0.7959 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2472, allocations: 1.769 MB / 0.7976 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2474, allocations: 0.6924 MB / 0.7983 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.985e-05/0.2475, allocations: 11.98 kB / 0.7983 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.2476, allocations: 27.42 kB / 0.7983 GB, free: 368 kB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2476, allocations: 0 / 0.7983 GB, free: 368 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.2613, allocations: 3.02 MB / 0.8013 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.2616, allocations: 269.2 kB / 0.8015 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.064, allocations: 0 / 0.8015 GB, free: 13.18 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)