Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.588/2.588, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001497, allocations: 180.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 95.11 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.3e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8914, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.14, allocations: 139.6 MB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004599/1.141, allocations: 87.94 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.02822/1.169, allocations: 3.781 MB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/1.169, allocations: 2.156 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.464e-05/1.169, allocations: 12 kB / 1.103 GB, free: 13.06 MB / 0.7136 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.001026/1.17, allocations: 0.5243 MB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/1.17, allocations: 8.031 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/1.17, allocations: 11.86 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.171, allocations: 176.8 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/1.171, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/1.171, allocations: 8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002038/1.171, allocations: 47.98 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/1.171, allocations: 92.56 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.171, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/1.171, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.171, allocations: 3.938 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/1.173, allocations: 389.1 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/1.173, allocations: 66.67 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/1.174, allocations: 48.78 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/1.174, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/1.174, allocations: 99.3 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/1.174, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0008352/1.175, allocations: 151.7 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.175, allocations: 55.39 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/1.175, allocations: 131.3 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.175, allocations: 25.7 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.176, allocations: 104.3 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/1.176, allocations: 11.81 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.176, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.176, allocations: 326.8 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.176, allocations: 24 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/1.176, allocations: 65.14 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/1.176, allocations: 27.97 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.176, allocations: 4 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000471/1.177, allocations: 117.3 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.177, allocations: 8.906 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.177, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.177, allocations: 4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.177, allocations: 27.92 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.177, allocations: 7.953 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/1.178, allocations: 18.36 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.178, allocations: 4 kB / 1.106 GB, free: 10.27 MB / 0.7136 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 0.0001683/1.178, allocations: 112.8 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007336/1.179, allocations: 149.5 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/1.179, allocations: 11.81 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/1.179, allocations: 16.61 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.179, allocations: 3.953 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.179, allocations: 0 / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.179, allocations: 0 / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/1.18, allocations: 423.1 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.18, allocations: 0 / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.18, allocations: 19.97 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.18, allocations: 0 / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/1.18, allocations: 7.578 kB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.18, allocations: 11.91 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.18, allocations: 3.938 kB / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/1.181, allocations: 239.4 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/1.181, allocations: 88.92 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/1.181, allocations: 7.984 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/1.181, allocations: 31.92 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/1.181, allocations: 11.92 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/1.181, allocations: 0 / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001/1.182, allocations: 108.9 kB / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.182, allocations: 0 / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005147/1.182, allocations: 55.92 kB / 1.107 GB, free: 8.914 MB / 0.7136 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.001266/1.183, allocations: 0.8447 MB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003067/1.184, allocations: 79.3 kB / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.184, allocations: 0 / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/1.184, allocations: 55.92 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/1.184, allocations: 10.02 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008228/1.185, allocations: 200.7 kB / 1.108 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/1.185, allocations: 0.7041 MB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.58e-05/1.186, allocations: 5.031 kB / 1.109 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/1.186, allocations: 27.42 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/1.186, allocations: 0 / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/1.231, allocations: 2.899 MB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/1.231, allocations: 198.5 kB / 1.112 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.837, allocations: 1.266 kB / 1.112 GB, free: 3.824 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)