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.001019/0.001019, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001144/0.001144, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.908/1.908, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005052/0.0005053, allocations: 20.56 kB / 0.6738 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2476, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002141/0.2498, allocations: 1.286 MB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.2516, allocations: 0.765 MB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.2517, allocations: 0 / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.2517, allocations: 3.938 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.2518, allocations: 15.84 kB / 0.7894 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.2525, allocations: 115.7 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.2527, allocations: 115.6 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2529, allocations: 23.91 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.253, allocations: 47.84 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2531, allocations: 67.78 kB / 0.7898 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2532, allocations: 4 kB / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.2534, allocations: 91.78 kB / 0.7899 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.2535, allocations: 27.91 kB / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.2535, allocations: 37.7 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.2538, allocations: 140 kB / 0.7901 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2538, allocations: 3.938 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2538, allocations: 0 / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2538, allocations: 0 / 0.7901 GB, free: 9.059 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.0007929/0.2546, allocations: 474.3 kB / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.071e-05/0.2547, allocations: 8.031 kB / 0.7905 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.2547, allocations: 34.55 kB / 0.7906 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.2548, allocations: 15.81 kB / 0.7906 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.255, allocations: 178 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.255, allocations: 8 kB / 0.7908 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2551, allocations: 7.984 kB / 0.7908 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2554, allocations: 109.5 kB / 0.7909 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2554, allocations: 4 kB / 0.7909 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2554, allocations: 3.938 kB / 0.7909 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.2554, allocations: 0 / 0.7909 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.2556, allocations: 71.95 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.2565, allocations: 376.6 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.2567, allocations: 74.55 kB / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2569, allocations: 60.77 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.2569, allocations: 4 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.2572, allocations: 107.5 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2572, allocations: 0 / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005951/0.2578, allocations: 229.4 kB / 0.7918 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.2579, allocations: 63.38 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2581, allocations: 141.3 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2581, allocations: 34.08 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.2582, allocations: 96.36 kB / 0.7921 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.2582, allocations: 19.66 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2582, allocations: 8 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2584, allocations: 322.8 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2585, allocations: 47.97 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.2587, allocations: 80.2 kB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.2588, allocations: 51.98 kB / 0.7926 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2588, allocations: 4.094 kB / 0.7926 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003497/0.2592, allocations: 169.4 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2592, allocations: 8 kB / 0.7928 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2592, allocations: 0 / 0.7928 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2592, allocations: 4 kB / 0.7928 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2594, allocations: 15.98 kB / 0.7928 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2594, allocations: 7.953 kB / 0.7928 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2595, allocations: 23.95 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.2596, allocations: 4 kB / 0.7928 GB, free: 6 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 ($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 0.0001212/0.2597, allocations: 126.4 kB / 0.7929 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.2597, allocations: 11.89 kB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.2597, allocations: 8.719 kB / 0.793 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2598, allocations: 4 kB / 0.793 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2598, allocations: 0 / 0.793 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2598, allocations: 3.953 kB / 0.793 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/0.2605, allocations: 466.4 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2605, allocations: 64 / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.2606, allocations: 19.98 kB / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.2606, allocations: 0 / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2606, allocations: 4 kB / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.2606, allocations: 7.938 kB / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2607, allocations: 0 / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.2611, allocations: 275.3 kB / 0.7937 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.2612, allocations: 88.92 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.2612, allocations: 192 / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.2614, allocations: 11.98 kB / 0.7938 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.2614, allocations: 23.81 kB / 0.7938 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2615, allocations: 4 kB / 0.7938 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.2615, allocations: 107.8 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2616, allocations: 0 / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003504/0.2619, allocations: 40 kB / 0.794 GB, free: 4.719 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 (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.00107/0.263, allocations: 0.8801 MB / 0.7948 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.2633, allocations: 119.9 kB / 0.7949 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2633, allocations: 0 / 0.7949 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2635, allocations: 67.92 kB / 0.795 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2638, allocations: 19.94 kB / 0.795 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2652, allocations: 0.7707 MB / 0.7958 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.2656, allocations: 0.7002 MB / 0.7965 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.625e-05/0.2657, allocations: 4 kB / 0.7965 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.2658, allocations: 31.42 kB / 0.7965 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2658, allocations: 4 kB / 0.7965 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.2823, allocations: 3.008 MB / 0.7994 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.2826, allocations: 249.6 kB / 0.7997 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.278, allocations: 0 / 0.7997 GB, free: 14.93 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/linux/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) Environment - environmentSimulation: