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.582/1.582, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009087/0.0009088, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.867e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.9266, allocations: 134.1 MB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.9269, allocations: 85.62 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.9397, allocations: 3.813 MB / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9398, allocations: 0 / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.9398, allocations: 0 / 1.027 GB, free: 13.26 MB / 0.6511 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.0007337/0.9405, allocations: 0.5193 MB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.9406, allocations: 8.031 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.9406, allocations: 42.23 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.9407, allocations: 15.77 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.9408, allocations: 182.8 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.9409, allocations: 7.125 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.9409, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.9411, allocations: 99.5 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.9412, allocations: 11.98 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.9412, allocations: 3.375 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9412, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.9413, allocations: 45.12 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.9423, allocations: 407.6 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.9425, allocations: 65.3 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.9426, allocations: 54.3 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.9426, allocations: 4 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.9428, allocations: 105.5 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.9428, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003792/0.9432, allocations: 153.4 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.9432, allocations: 51.41 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.9434, allocations: 135.5 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.9434, allocations: 28.52 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.9435, allocations: 102.7 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.9435, allocations: 26.45 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.9435, allocations: 0 / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9436, allocations: 325.6 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.9437, allocations: 26.12 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.9438, allocations: 59.89 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.9439, allocations: 38.16 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9439, allocations: 4 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002137/0.9441, allocations: 126 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9441, allocations: 4 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.9441, allocations: 4 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9442, allocations: 8.078 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.9443, allocations: 27.36 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.9443, allocations: 7.984 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.9445, allocations: 15.92 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.9445, allocations: 8 kB / 1.029 GB, free: 10.59 MB / 0.6511 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,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete 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 9.867e-05/0.9446, allocations: 112.5 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.9446, allocations: 7.906 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.9447, allocations: 15.42 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9447, allocations: 7.953 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.9447, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9447, allocations: 0 / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.9453, allocations: 456.3 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9453, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-05/0.9454, allocations: 19.98 kB / 1.03 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.9454, allocations: 3.953 kB / 1.03 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.9454, allocations: 15.73 kB / 1.03 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.9454, allocations: 0 / 1.03 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9454, allocations: 3.938 kB / 1.03 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.9457, allocations: 243.2 kB / 1.03 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.9458, allocations: 81.02 kB / 1.03 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.9458, allocations: 10.83 kB / 1.03 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.9461, allocations: 31.97 kB / 1.03 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.9461, allocations: 11.17 kB / 1.03 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.9461, allocations: 3.984 kB / 1.03 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.9462, allocations: 109.5 kB / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9462, allocations: 0 / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003344/0.9466, allocations: 55.11 kB / 1.03 GB, free: 9.453 MB / 0.6511 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: 1 (win.on) * 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.0009003/0.9475, allocations: 0.8672 MB / 1.031 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.9477, allocations: 88.8 kB / 1.031 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9477, allocations: 0 / 1.031 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.9478, allocations: 60.22 kB / 1.031 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.948, allocations: 4.5 kB / 1.031 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.9486, allocations: 201.2 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.9489, allocations: 0.7085 MB / 1.032 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.724e-05/0.949, allocations: 7.781 kB / 1.032 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.949, allocations: 32.48 kB / 1.032 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.949, allocations: 0 / 1.032 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.9646, allocations: 3.268 MB / 1.035 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.9648, allocations: 221.8 kB / 1.036 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.613, allocations: 0 / 1.036 GB, free: 4.211 MB / 0.6511 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)