Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.891/1.891, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001372/0.001372, allocations: 185 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.6366 GB, free: 9.59 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.0008967/0.0008964, allocations: 90.09 kB / 0.7509 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 15.98 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7387/1.009, allocations: 141.4 MB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/1.01, allocations: 85.59 kB / 1.127 GB, free: 33.73 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.01628/1.026, allocations: 3.82 MB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.345e-06/1.026, allocations: 4 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.026, allocations: 0 / 1.13 GB, free: 30.98 MB / 0.7292 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.0008855/1.027, allocations: 0.5391 MB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.027, allocations: 12.03 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/1.027, allocations: 44.7 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/1.027, allocations: 11.81 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.027, allocations: 182.6 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/1.028, allocations: 4 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/1.028, allocations: 12.62 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/1.028, allocations: 154.4 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.028, allocations: 3.469 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/1.028, allocations: 4 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.028, allocations: 0 / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/1.029, allocations: 124 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/1.03, allocations: 408.1 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/1.03, allocations: 119.1 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/1.03, allocations: 8.078 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/1.031, allocations: 156.3 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/1.031, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001415/1.032, allocations: 364.4 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.032, allocations: 51.97 kB / 1.132 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.032, allocations: 134.4 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/1.033, allocations: 29.7 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/1.033, allocations: 103.1 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/1.033, allocations: 22.3 kB / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.033, allocations: 0 / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/1.033, allocations: 327 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/1.033, allocations: 51.58 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/1.033, allocations: 87.23 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/1.033, allocations: 50.66 kB / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.033, allocations: 0 / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000551/1.034, allocations: 175.8 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.034, allocations: 4.562 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.034, allocations: 8.125 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.034, allocations: 4.031 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.034, allocations: 23.36 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.034, allocations: 7.953 kB / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/1.034, allocations: 11.47 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.035, allocations: 13.19 kB / 1.133 GB, free: 27.88 MB / 0.7292 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.0001148/1.035, allocations: 126.4 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/1.035, allocations: 8.703 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/1.035, allocations: 12.72 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.035, allocations: 0 / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.035, allocations: 0 / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.035, allocations: 12.17 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.036, allocations: 0.5543 MB / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.036, allocations: 0 / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.036, allocations: 18.66 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.036, allocations: 1.969 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.036, allocations: 4 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.036, allocations: 7.953 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.036, allocations: 3.469 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.037, allocations: 360.7 kB / 1.135 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/1.037, allocations: 85.02 kB / 1.135 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/1.038, allocations: 7.828 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.038, allocations: 22.61 kB / 1.135 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/1.038, allocations: 15.52 kB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/1.038, allocations: 7.516 kB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.885e-05/1.038, allocations: 111.4 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/1.038, allocations: 0 / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005924/1.039, allocations: 52 kB / 1.135 GB, free: 26.56 MB / 0.7292 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.001703/1.04, allocations: 0.9659 MB / 1.136 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007732/1.041, allocations: 170 kB / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.041, allocations: 0 / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005068/1.042, allocations: 103.8 kB / 1.136 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.042, allocations: 14.72 kB / 1.136 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/1.044, allocations: 1.291 MB / 1.137 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/1.044, allocations: 0.7061 MB / 1.138 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.193e-05/1.044, allocations: 6.344 kB / 1.138 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/1.044, allocations: 31.61 kB / 1.138 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/1.044, allocations: 4.844 kB / 1.138 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/1.066, allocations: 3.249 MB / 1.141 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.066, allocations: 241.5 kB / 1.141 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.87, allocations: 0 / 1.141 GB, free: 21.35 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)