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.426/1.426, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001124/0.001125, allocations: 184.2 kB / 326.5 MB, free: 2.234 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.066/2.066, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008908/0.0008908, allocations: 88.39 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 9.375 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.404, allocations: 134.2 MB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.4044, allocations: 91.89 kB / 1.031 GB, free: 9.402 MB / 0.6823 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.01292/0.4173, allocations: 3.826 MB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4173, allocations: 0 / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4174, allocations: 0 / 1.035 GB, free: 5.559 MB / 0.6823 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.0008051/0.4182, allocations: 0.5367 MB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4182, allocations: 8.031 kB / 1.036 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.4183, allocations: 50.48 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.4183, allocations: 11.86 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4185, allocations: 188.7 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.4185, allocations: 8 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.4186, allocations: 4 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.4191, allocations: 157.5 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.4191, allocations: 0 / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4191, allocations: 0 / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4191, allocations: 3.984 kB / 1.036 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.4196, allocations: 127.9 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.4206, allocations: 416.5 kB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.4209, allocations: 110.5 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.421, allocations: 4 kB / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/0.4214, allocations: 161.2 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4214, allocations: 0 / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.001063/0.4224, allocations: 353.2 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4225, allocations: 59.41 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4226, allocations: 133.5 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4227, allocations: 25.81 kB / 1.037 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.4227, allocations: 112.1 kB / 1.037 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.4228, allocations: 27.84 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.4228, allocations: 3.938 kB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4229, allocations: 326.8 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4231, allocations: 47.97 kB / 1.038 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4232, allocations: 89.12 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4234, allocations: 55.97 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4234, allocations: 7.938 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003573/0.4238, allocations: 165.4 kB / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4238, allocations: 8 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4238, allocations: 0 / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4238, allocations: 12.08 kB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.424, allocations: 23.97 kB / 1.038 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.424, allocations: 0 / 1.038 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.4241, allocations: 19.89 kB / 1.038 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.4241, allocations: 8 kB / 1.038 GB, free: 2.086 MB / 0.6823 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 () * 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.0001131/0.4243, allocations: 125.7 kB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4243, allocations: 11.91 kB / 1.038 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.4243, allocations: 12.7 kB / 1.038 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4243, allocations: 4 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4244, allocations: 3.953 kB / 1.038 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4244, allocations: 0 / 1.038 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4254, allocations: 0.5452 MB / 1.039 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4254, allocations: 3.984 kB / 1.039 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.4255, allocations: 15.98 kB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.4255, allocations: 0 / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.4256, allocations: 3.953 kB / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4256, allocations: 0 / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4256, allocations: 0 / 1.039 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.4264, allocations: 363.2 kB / 1.039 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.4265, allocations: 89.11 kB / 1.039 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.4265, allocations: 4 kB / 1.039 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.4267, allocations: 35.86 kB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4268, allocations: 11.98 kB / 1.039 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.4268, allocations: 4.078 kB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.4269, allocations: 115.2 kB / 1.039 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4269, allocations: 7.938 kB / 1.039 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004023/0.4273, allocations: 48 kB / 1.039 GB, free: 0.5938 MB / 0.6823 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) * 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.001434/0.4288, allocations: 0.9663 MB / 1.04 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.4293, allocations: 168.1 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4293, allocations: 4 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.4296, allocations: 103.9 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.4298, allocations: 11.95 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4313, allocations: 1.29 MB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4316, allocations: 0.7043 MB / 1.043 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.213e-05/0.4316, allocations: 7.984 kB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.4317, allocations: 31.42 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.4317, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.4487, allocations: 3.248 MB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/0.4491, allocations: 261.2 kB / 1.046 GB, free: 9.824 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.075, allocations: 0 / 1.046 GB, free: 9.824 MB / 0.698 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)