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.65/1.65, allocations: 289.7 MB / 302.3 MB, free: 2.105 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.001125/0.001125, allocations: 184.2 kB / 371.6 MB, free: 3.402 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.773/1.773, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.00101/0.001011, allocations: 93.91 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.854e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2951, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9955/1.291, allocations: 141.4 MB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.291, allocations: 82.16 kB / 1.118 GB, free: 42.93 MB / 0.7448 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.01179/1.303, allocations: 3.809 MB / 1.122 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.305e-06/1.303, allocations: 0 / 1.122 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.677e-06/1.303, allocations: 0 / 1.122 GB, free: 40.74 MB / 0.7448 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.000636/1.303, allocations: 0.5189 MB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.304, allocations: 8.688 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/1.304, allocations: 43.34 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/1.304, allocations: 16.61 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/1.304, allocations: 182.2 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/1.304, allocations: 4 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/1.304, allocations: 7.188 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/1.304, allocations: 96.44 kB / 1.123 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.304, allocations: 4.656 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.304, allocations: 1.734 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.304, allocations: 0 / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/1.304, allocations: 58.36 kB / 1.123 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/1.305, allocations: 413.8 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.305, allocations: 55.45 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.709e-05/1.305, allocations: 56.97 kB / 1.123 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/1.305, allocations: 0.7188 kB / 1.123 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/1.306, allocations: 100.7 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/1.306, allocations: 4 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003296/1.306, allocations: 157 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.306, allocations: 54.34 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/1.306, allocations: 134.2 kB / 1.124 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.306, allocations: 28.95 kB / 1.124 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/1.306, allocations: 101.5 kB / 1.124 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.306, allocations: 18.81 kB / 1.124 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/1.306, allocations: 3.938 kB / 1.124 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/1.306, allocations: 325.9 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/1.306, allocations: 23.62 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/1.306, allocations: 59.52 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.588e-05/1.306, allocations: 41.25 kB / 1.124 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.306, allocations: 4 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000182/1.307, allocations: 122.8 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.307, allocations: 5.406 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.307, allocations: 4.938 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.307, allocations: 0 / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/1.307, allocations: 26.8 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.307, allocations: 8.062 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/1.307, allocations: 23.03 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/1.307, allocations: 8 kB / 1.124 GB, free: 38.28 MB / 0.7448 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 7.55e-05/1.307, allocations: 109.5 kB / 1.124 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/1.307, allocations: 11.38 kB / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/1.307, allocations: 8.547 kB / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.307, allocations: 7.938 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.307, allocations: 8.703 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.307, allocations: 0 / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/1.308, allocations: 459.5 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.308, allocations: 0 / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/1.308, allocations: 19.88 kB / 1.125 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.308, allocations: 0.625 kB / 1.125 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/1.308, allocations: 11.28 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.308, allocations: 0 / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.308, allocations: 4.781 kB / 1.125 GB, free: 37.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/1.308, allocations: 248.3 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/1.308, allocations: 81.52 kB / 1.125 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/1.308, allocations: 8.75 kB / 1.125 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/1.308, allocations: 34.7 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/1.308, allocations: 11.27 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.308, allocations: 3.828 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.996e-05/1.308, allocations: 110.1 kB / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.308, allocations: 0 / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003032/1.309, allocations: 63.27 kB / 1.125 GB, free: 37.24 MB / 0.7448 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.0007272/1.31, allocations: 0.8515 MB / 1.126 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002117/1.31, allocations: 90.25 kB / 1.126 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.31, allocations: 0 / 1.126 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/1.31, allocations: 51.45 kB / 1.126 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/1.31, allocations: 15.41 kB / 1.126 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/1.311, allocations: 201.5 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/1.311, allocations: 0.702 MB / 1.127 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.695e-05/1.311, allocations: 8.75 kB / 1.127 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/1.311, allocations: 29.97 kB / 1.127 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/1.311, allocations: 0 / 1.127 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/1.326, allocations: 3.262 MB / 1.131 GB, free: 33.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/1.326, allocations: 227.5 kB / 1.131 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/3.058, allocations: 0 / 1.131 GB, free: 33.41 MB / 0.7448 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)