Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.764/1.764, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001047/0.001047, allocations: 180.7 kB / 371.6 MB, free: 3.359 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.693/1.693, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009504/0.0009501, allocations: 88.05 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.882e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3067, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9813/1.288, allocations: 141.2 MB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004053/1.289, allocations: 84.42 kB / 1.118 GB, free: 42.98 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.01081/1.299, allocations: 3.224 MB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.923e-06/1.299, allocations: 0 / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.3, allocations: 0 / 1.121 GB, free: 41.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004691/1.3, allocations: 456.4 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.3, allocations: 8.031 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/1.3, allocations: 34.56 kB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/1.3, allocations: 10.91 kB / 1.122 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.07e-05/1.3, allocations: 169.7 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/1.3, allocations: 7.188 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/1.3, allocations: 4 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/1.3, allocations: 80.11 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.3, allocations: 0.75 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.3, allocations: 0 / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.3, allocations: 4 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.598e-05/1.301, allocations: 36.92 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/1.301, allocations: 351.4 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/1.301, allocations: 52.45 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/1.301, allocations: 36.02 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/1.301, allocations: 1.078 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/1.302, allocations: 82.75 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/1.302, allocations: 0 / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002662/1.302, allocations: 130.6 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.302, allocations: 59.52 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/1.302, allocations: 116.7 kB / 1.123 GB, free: 39.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.302, allocations: 29.27 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/1.302, allocations: 98.19 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/1.302, allocations: 15.19 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/1.302, allocations: 0 / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/1.302, allocations: 321 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/1.302, allocations: 27.84 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/1.302, allocations: 61.58 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/1.302, allocations: 30.5 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.302, allocations: 0 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001626/1.303, allocations: 116.6 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.303, allocations: 8 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/1.303, allocations: 4.094 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.303, allocations: 1.219 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.303, allocations: 23.55 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.303, allocations: 4.547 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/1.303, allocations: 11.42 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/1.303, allocations: 7.312 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$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 6.127e-05/1.303, allocations: 110 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/1.303, allocations: 12.47 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/1.303, allocations: 12.06 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.303, allocations: 3.328 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.303, allocations: 3.938 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.303, allocations: 0 / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/1.303, allocations: 408.8 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.303, allocations: 0.5625 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/1.303, allocations: 7.328 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.303, allocations: 0.8906 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/1.303, allocations: 7.875 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.303, allocations: 4 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.303, allocations: 3.953 kB / 1.124 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/1.304, allocations: 221.7 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/1.304, allocations: 88.44 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/1.304, allocations: 3.812 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.304, allocations: 4 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/1.304, allocations: 11.47 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/1.304, allocations: 12.02 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.657e-05/1.304, allocations: 95.22 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.304, allocations: 0.6562 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002867/1.304, allocations: 54.81 kB / 1.124 GB, free: 37.94 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006379/1.305, allocations: 0.8315 MB / 1.125 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001543/1.305, allocations: 70.61 kB / 1.125 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.305, allocations: 0 / 1.125 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/1.305, allocations: 36.75 kB / 1.125 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/1.305, allocations: 15.75 kB / 1.125 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/1.306, allocations: 176.2 kB / 1.125 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/1.306, allocations: 0.692 MB / 1.126 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.05e-05/1.306, allocations: 5.453 kB / 1.126 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/1.306, allocations: 25.28 kB / 1.126 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.306, allocations: 0 / 1.126 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/1.32, allocations: 2.844 MB / 1.129 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.32, allocations: 196.8 kB / 1.129 GB, free: 34.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.939, allocations: 0 / 1.129 GB, free: 34.42 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)