Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.643/2.643, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 180.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.248/2.248, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 97.78 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.0006531, allocations: 11.28 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2301, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003024/0.2332, allocations: 1.199 MB / 0.9794 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.2359, allocations: 0.7231 MB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.236, allocations: 0 / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2361, allocations: 3.938 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.2362, allocations: 7.984 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.237, allocations: 99.69 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.2372, allocations: 39.94 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2374, allocations: 15.98 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2376, allocations: 27.91 kB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.2377, allocations: 35.84 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.2378, allocations: 4 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.2382, allocations: 71.86 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.2383, allocations: 15.86 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.2383, allocations: 37.7 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2387, allocations: 100 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2387, allocations: 0 / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2387, allocations: 0 / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2387, allocations: 4 kB / 0.9806 GB, free: 25.88 MB / 0.6198 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.0008432/0.2396, allocations: 404.8 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.2397, allocations: 16.02 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.2397, allocations: 30.56 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.2398, allocations: 15.84 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.24, allocations: 171 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.24, allocations: 7.938 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.2401, allocations: 8 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.2404, allocations: 69.66 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2405, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2405, allocations: 4 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2405, allocations: 0 / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.2408, allocations: 43.97 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.2417, allocations: 320.6 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.242, allocations: 58.55 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.2421, allocations: 4 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.2425, allocations: 75.5 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.739e-06/0.2426, allocations: 0 / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001006/0.2436, allocations: 161.4 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.2437, allocations: 51.41 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2438, allocations: 121.8 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2439, allocations: 29.7 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.244, allocations: 96.33 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.244, allocations: 11.81 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.2441, allocations: 4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.2442, allocations: 322.8 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.2444, allocations: 23.98 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.2446, allocations: 59.78 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.2449, allocations: 43.92 kB / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2449, allocations: 0 / 0.9827 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006177/0.2456, allocations: 121.5 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.2456, allocations: 6.031 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2457, allocations: 3.984 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.2457, allocations: 7.938 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.2459, allocations: 20 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.246, allocations: 3.938 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2462, allocations: 8 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2462, allocations: 7.938 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.2464, allocations: 123.7 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.2464, allocations: 11.91 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.2465, allocations: 4.375 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2465, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2465, allocations: 3.953 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2465, allocations: 4 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.2475, allocations: 386.5 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2475, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2476, allocations: 7.984 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.2477, allocations: 4 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2477, allocations: 7.953 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2477, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2477, allocations: 0 / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.2484, allocations: 215.4 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.2484, allocations: 88.95 kB / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.2485, allocations: 0 / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2487, allocations: 7.953 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.2488, allocations: 7.984 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2489, allocations: 4 kB / 0.9837 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.249, allocations: 95.27 kB / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.82e-07/0.249, allocations: 0 / 0.9838 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006731/0.2497, allocations: 35.98 kB / 0.9838 GB, free: 22.27 MB / 0.6198 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,occ.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/0.251, allocations: 0.807 MB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005582/0.2516, allocations: 79.88 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2517, allocations: 0 / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.2519, allocations: 35.92 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.2523, allocations: 20.06 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2536, allocations: 0.8725 MB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.2539, allocations: 0.6887 MB / 0.9862 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.045e-05/0.254, allocations: 12.25 kB / 0.9862 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.2541, allocations: 23.44 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.2541, allocations: 3.938 kB / 0.9863 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.2803, allocations: 2.311 MB / 0.9885 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.2806, allocations: 239.3 kB / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/2.769, allocations: 0 / 0.9888 GB, free: 17.25 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)