Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 179.1 kB / 325.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009398/0.0009394, allocations: 87.16 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 9.312 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001741/0.2364, allocations: 1.235 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2376, allocations: 0.7805 MB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.2376, allocations: 4 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.2377, allocations: 3.984 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.2378, allocations: 11.86 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2383, allocations: 107.8 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.2384, allocations: 67.78 kB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2385, allocations: 11.98 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.2386, allocations: 31.92 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.2386, allocations: 35.83 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.2387, allocations: 4 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.2388, allocations: 87.84 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.2389, allocations: 7.984 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.2389, allocations: 39.78 kB / 0.8986 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.2391, allocations: 131.7 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2392, allocations: 7.938 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.537e-06/0.2392, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.443e-06/0.2392, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 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.0006513/0.2398, allocations: 401.1 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.2399, allocations: 8.031 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.24, allocations: 38.75 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.24, allocations: 8.844 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2401, allocations: 176.2 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.2402, allocations: 4.375 kB / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2402, allocations: 4.375 kB / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2404, allocations: 77.72 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2404, allocations: 0 / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2404, allocations: 4 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2404, allocations: 0 / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.2406, allocations: 43.97 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.2412, allocations: 332.5 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2413, allocations: 54.55 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.2414, allocations: 32.97 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2414, allocations: 4 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.2416, allocations: 79.38 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2416, allocations: 0 / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003781/0.242, allocations: 145.8 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.242, allocations: 51.41 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.2421, allocations: 137.6 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2421, allocations: 29.7 kB / 0.9003 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.2422, allocations: 92.2 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2422, allocations: 15.81 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.2422, allocations: 21.7 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.2423, allocations: 322.8 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.2424, allocations: 23.98 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.2425, allocations: 54.56 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2426, allocations: 82.55 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2426, allocations: 4 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001928/0.2428, allocations: 117.5 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2428, allocations: 4 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2429, allocations: 4 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2429, allocations: 0 / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.243, allocations: 15.92 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.243, allocations: 8.062 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.2431, allocations: 15.92 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2431, allocations: 4 kB / 0.901 GB, free: 62.88 MB / 0.6042 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.996e-05/0.2432, allocations: 117.8 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.2432, allocations: 11.89 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.2432, allocations: 8.375 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2433, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2433, allocations: 8 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2433, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.2437, allocations: 382.4 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2437, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.2437, allocations: 4 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2437, allocations: 7.984 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2438, allocations: 8 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2438, allocations: 11.81 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2438, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.244, allocations: 211.4 kB / 0.9017 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.244, allocations: 89 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2441, allocations: 4 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.2441, allocations: 11.94 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2442, allocations: 11.98 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2442, allocations: 0 / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.2443, allocations: 91.27 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2443, allocations: 0 / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002746/0.2445, allocations: 36 kB / 0.902 GB, free: 61.79 MB / 0.6042 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.0005884/0.2451, allocations: 0.8145 MB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.2454, allocations: 83.89 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2454, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.248e-05/0.2455, allocations: 39.92 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.2457, allocations: 11.88 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2469, allocations: 1.503 MB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2471, allocations: 0.6939 MB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.2471, allocations: 7.938 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.2472, allocations: 27.36 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.2472, allocations: 4 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.2595, allocations: 2.344 MB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.2598, allocations: 287.1 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.935, allocations: 0.875 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)