Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.741/1.741, allocations: 252 MB / 267 MB, free: 10.96 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.001133/0.001133, allocations: 191.1 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 0.5777 GB, free: 20.31 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.000788/0.0007879, allocations: 89.88 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 7.156 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2536, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002123/0.2558, allocations: 1.336 MB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2576, allocations: 0.7879 MB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2577, allocations: 3.938 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.2578, allocations: 7.922 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2579, allocations: 15.86 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007319/0.2586, allocations: 123.7 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.2588, allocations: 131.5 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.259, allocations: 25.11 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2591, allocations: 51.84 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2593, allocations: 67.78 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.2593, allocations: 8 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.2596, allocations: 87.84 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.2597, allocations: 31.88 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.2597, allocations: 53.64 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.26, allocations: 139.9 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.26, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/0.26, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.26, allocations: 0 / 0.9031 GB, free: 60.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009411/0.261, allocations: 0.5212 MB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.2611, allocations: 8.031 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.889e-05/0.2612, allocations: 42.55 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.2612, allocations: 11.86 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.2614, allocations: 180.8 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.2615, allocations: 4 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.2615, allocations: 8 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/0.2622, allocations: 157.5 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2622, allocations: 0 / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.2623, allocations: 7.938 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2623, allocations: 0 / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.2629, allocations: 127.9 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009961/0.2639, allocations: 388.6 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.2643, allocations: 122.4 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.2647, allocations: 104.7 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.2648, allocations: 0 / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006018/0.2654, allocations: 155.3 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.305e-06/0.2654, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.001459/0.2669, allocations: 361.2 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2669, allocations: 59.34 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.2671, allocations: 149.8 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2671, allocations: 29.7 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.2672, allocations: 104.3 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2672, allocations: 19.88 kB / 0.9055 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.2673, allocations: 4 kB / 0.9055 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.2673, allocations: 322.8 kB / 0.9059 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.2675, allocations: 47.97 kB / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.2677, allocations: 93.11 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2679, allocations: 51.97 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2679, allocations: 0 / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000433/0.2684, allocations: 173.4 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2684, allocations: 4 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2684, allocations: 4.125 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2684, allocations: 7.953 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.2686, allocations: 23.92 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2686, allocations: 7.984 kB / 0.9063 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2688, allocations: 27.83 kB / 0.9063 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2688, allocations: 4.109 kB / 0.9063 GB, free: 57.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$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 (13): * Single equations (assignments): 13 * 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.0001185/0.269, allocations: 132.7 kB / 0.9064 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.269, allocations: 11.91 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.269, allocations: 12.72 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.2691, allocations: 7.953 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2691, allocations: 384 / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2691, allocations: 0 / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2703, allocations: 0.5567 MB / 0.907 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2703, allocations: 0 / 0.907 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.2705, allocations: 15.98 kB / 0.907 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.2705, allocations: 3.953 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2705, allocations: 7.984 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2705, allocations: 4 kB / 0.907 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2705, allocations: 0 / 0.907 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009571/0.2715, allocations: 359.2 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.2715, allocations: 88.95 kB / 0.9074 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.2716, allocations: 7.953 kB / 0.9074 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.2719, allocations: 27.97 kB / 0.9075 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.272, allocations: 7.984 kB / 0.9075 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.272, allocations: 11.98 kB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.878e-05/0.2721, allocations: 111.3 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2721, allocations: 0 / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005343/0.2727, allocations: 43.98 kB / 0.9076 GB, free: 55.92 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001653/0.2743, allocations: 0.9489 MB / 0.9086 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006809/0.275, allocations: 163.9 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.275, allocations: 0 / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.2755, allocations: 108 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.2759, allocations: 18.42 kB / 0.9088 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.2775, allocations: 0.8477 MB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.2777, allocations: 0.7026 MB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.57e-05/0.2778, allocations: 8 kB / 0.9104 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.2779, allocations: 31.42 kB / 0.9104 GB, free: 53 MB / 0.6042 GB Notification: Performance of SimCode: time 6.22e-07/0.2779, allocations: 0 / 0.9104 GB, free: 53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.2945, allocations: 3.075 MB / 0.9134 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.2949, allocations: 274.8 kB / 0.9137 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.946, allocations: 2.234 kB / 0.9137 GB, free: 49.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)