Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.524/1.524, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001041/0.001041, allocations: 177.3 kB / 326.5 MB, free: 2.262 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.696/1.696, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008486/0.0008488, allocations: 98.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 9.062 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2504, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.0017/0.2521, allocations: 1.273 MB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2533, allocations: 0.7848 MB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.2533, allocations: 0 / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.2534, allocations: 7.938 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.2534, allocations: 19.95 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.2539, allocations: 111.7 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.254, allocations: 75.78 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.2541, allocations: 23.97 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/0.2542, allocations: 43.91 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.2543, allocations: 71.72 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2544, allocations: 4 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2545, allocations: 71.86 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.2545, allocations: 27.91 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.2546, allocations: 37.64 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2547, allocations: 136 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2548, allocations: 0 / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2548, allocations: 0 / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2548, allocations: 4 kB / 0.9028 GB, free: 61.12 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006812/0.2555, allocations: 466.3 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2555, allocations: 8.031 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.2556, allocations: 42.55 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2556, allocations: 11.86 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2557, allocations: 179.5 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2558, allocations: 4 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.2558, allocations: 12 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.256, allocations: 101.5 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.256, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.2561, allocations: 0 / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2561, allocations: 4 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.2563, allocations: 79.94 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.257, allocations: 384.5 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2572, allocations: 74.48 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2572, allocations: 8 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.2575, allocations: 107.3 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2575, allocations: 0 / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005023/0.258, allocations: 225.4 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.258, allocations: 59.39 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.2581, allocations: 139.7 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2582, allocations: 29.7 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.2582, allocations: 108.8 kB / 0.9047 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2582, allocations: 11.81 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.2582, allocations: 4 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.2583, allocations: 322.8 kB / 0.905 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.2584, allocations: 55.84 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.2585, allocations: 72.27 kB / 0.9052 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.2587, allocations: 59.97 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2587, allocations: 0 / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002789/0.259, allocations: 161.4 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.259, allocations: 8 kB / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.259, allocations: 0 / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.259, allocations: 0 / 0.9054 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2592, allocations: 27.94 kB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2592, allocations: 4 kB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2593, allocations: 23.92 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2593, allocations: 4 kB / 0.9054 GB, free: 58.13 MB / 0.6042 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.2594, allocations: 121.8 kB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.2594, allocations: 15.89 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.2594, allocations: 8.719 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2595, allocations: 4 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2595, allocations: 3.953 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2595, allocations: 4 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.26, allocations: 466.3 kB / 0.906 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.26, allocations: 0 / 0.906 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.26, allocations: 15.98 kB / 0.9061 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2601, allocations: 0 / 0.9061 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2601, allocations: 3.953 kB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2601, allocations: 4.094 kB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2601, allocations: 7.875 kB / 0.9061 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2604, allocations: 271.4 kB / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.2605, allocations: 88.95 kB / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2605, allocations: 4 kB / 0.9064 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2606, allocations: 24.12 kB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.2607, allocations: 7.984 kB / 0.9064 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2607, allocations: 7.938 kB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.2607, allocations: 107.4 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2607, allocations: 4 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002891/0.261, allocations: 44 kB / 0.9066 GB, free: 56.84 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: 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 (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.0007382/0.2618, allocations: 0.8741 MB / 0.9075 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.2621, allocations: 115.9 kB / 0.9076 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2621, allocations: 0 / 0.9076 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2622, allocations: 67.94 kB / 0.9076 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2624, allocations: 15.94 kB / 0.9076 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.2632, allocations: 1.096 MB / 0.9087 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.2633, allocations: 0.7043 MB / 0.9094 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.359e-05/0.2634, allocations: 4 kB / 0.9094 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.2634, allocations: 27.42 kB / 0.9094 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2634, allocations: 0 / 0.9094 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.2767, allocations: 2.993 MB / 0.9124 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.2769, allocations: 258.1 kB / 0.9126 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.951, allocations: 2.031 kB / 0.9126 GB, free: 50.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)