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.672/1.672, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001143/0.001143, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.785/1.785, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0007798/0.0007797, allocations: 91.67 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.382e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7374, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.9455, allocations: 140.7 MB / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.9458, allocations: 91.45 kB / 1.111 GB, free: 9.324 MB / 0.7136 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.01258/0.9584, allocations: 3.784 MB / 1.115 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9585, allocations: 0 / 1.115 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.9585, allocations: 4 kB / 1.115 GB, free: 5.578 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.0007656/0.9593, allocations: 0.5298 MB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9593, allocations: 8.031 kB / 1.115 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.9594, allocations: 11.91 kB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.9596, allocations: 178.8 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.9596, allocations: 4 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.9597, allocations: 4 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001566/0.9599, allocations: 50.42 kB / 1.115 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.96, allocations: 93.62 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.9601, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.9601, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9601, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.9612, allocations: 396.9 kB / 1.116 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.9613, allocations: 58.58 kB / 1.116 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.9614, allocations: 49 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.9614, allocations: 3.984 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.9617, allocations: 95.36 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 4.308e-06/0.9617, allocations: 0 / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000414/0.9621, allocations: 148.1 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.9622, allocations: 59.34 kB / 1.116 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9623, allocations: 132.7 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.9623, allocations: 25.7 kB / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.9624, allocations: 100.3 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.9624, allocations: 15.81 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.9625, allocations: 0 / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9626, allocations: 326.8 kB / 1.117 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.9627, allocations: 23.94 kB / 1.117 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.9628, allocations: 65.14 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.9628, allocations: 27.98 kB / 1.117 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.9628, allocations: 0 / 1.117 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002158/0.9631, allocations: 121.4 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9631, allocations: 4 kB / 1.117 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9631, allocations: 4.125 kB / 1.117 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.9631, allocations: 4 kB / 1.117 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.9633, allocations: 23.98 kB / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.9633, allocations: 4 kB / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.9634, allocations: 19.88 kB / 1.117 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.9635, allocations: 4 kB / 1.117 GB, free: 2.789 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.0001001/0.9636, allocations: 115 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002884/0.9639, allocations: 152.2 kB / 1.117 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.9639, allocations: 11.81 kB / 1.117 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.9639, allocations: 16.61 kB / 1.117 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9639, allocations: 0 / 1.117 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.964, allocations: 3.953 kB / 1.117 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.964, allocations: 0 / 1.117 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.9645, allocations: 422.8 kB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.9645, allocations: 0 / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.9646, allocations: 23.97 kB / 1.118 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.9646, allocations: 112 / 1.118 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.9647, allocations: 7.938 kB / 1.118 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.9647, allocations: 3.953 kB / 1.118 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9647, allocations: 0 / 1.118 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.965, allocations: 240.9 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.9651, allocations: 92.92 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.9652, allocations: 7.984 kB / 1.118 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.9654, allocations: 27.97 kB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.9654, allocations: 11.94 kB / 1.118 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.9655, allocations: 0 / 1.118 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.646e-05/0.9656, allocations: 105.3 kB / 1.118 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9656, allocations: 4 kB / 1.118 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003555/0.9659, allocations: 59.92 kB / 1.118 GB, free: 1.426 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.001118/0.967, allocations: 0.8456 MB / 1.119 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.9673, allocations: 79.92 kB / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9673, allocations: 0 / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.9674, allocations: 47.98 kB / 1.119 GB, free: 456 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.9676, allocations: 13.95 kB / 1.119 GB, free: 444 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.9683, allocations: 197.8 kB / 1.119 GB, free: 212 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.9688, allocations: 0.7082 MB / 1.12 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.725e-05/0.9689, allocations: 4 kB / 1.12 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.9689, allocations: 28.8 kB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/0.969, allocations: 0 / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.995, allocations: 2.905 MB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/0.9953, allocations: 198 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.656, allocations: 0 / 1.123 GB, free: 12.4 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)