Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.3 MB / 261.8 MB, free: 5.945 MB / 202.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: 174.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009595/0.0009594, allocations: 86.42 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.22e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7235/0.9285, allocations: 133.9 MB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.9289, allocations: 83.56 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.01031/0.9392, allocations: 3.216 MB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.958e-06/0.9392, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9392, allocations: 0 / 1.026 GB, free: 14.03 MB / 0.6511 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.0005414/0.9398, allocations: 443 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.9398, allocations: 12.03 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.9399, allocations: 41.98 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.9399, allocations: 7.906 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.9401, allocations: 171 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.9401, allocations: 7.875 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.9401, allocations: 8 kB / 1.027 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.9403, allocations: 76.45 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.9403, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.9403, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9403, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.9404, allocations: 37.81 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.9412, allocations: 348.5 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.9413, allocations: 47.56 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.9414, allocations: 37.42 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.9414, allocations: 4 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.9415, allocations: 88.39 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.9415, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003264/0.9419, allocations: 136.8 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.9419, allocations: 51.41 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.942, allocations: 116 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.9421, allocations: 37.02 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.9421, allocations: 94.86 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.9422, allocations: 15.62 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.9422, allocations: 0 / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9423, allocations: 322.3 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.9424, allocations: 22.69 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.9424, allocations: 52.53 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.529e-05/0.9425, allocations: 38.36 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9425, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001837/0.9427, allocations: 117.5 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9427, allocations: 4 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9427, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.9428, allocations: 7.938 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.9429, allocations: 20.14 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.9429, allocations: 11.89 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.943, allocations: 11.41 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.943, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.6511 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 9.538e-05/0.9431, allocations: 122.2 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.9431, allocations: 3.906 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.9432, allocations: 11.94 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.9432, allocations: 4 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9432, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9432, allocations: 3.953 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.9437, allocations: 407.4 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9437, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.9437, allocations: 7.938 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9437, allocations: 0 / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.9438, allocations: 7.984 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.9438, allocations: 3.953 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9438, allocations: 4 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.9441, allocations: 222.3 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.9441, allocations: 88.95 kB / 1.029 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.9441, allocations: 3.984 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9442, allocations: 7.5 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.9443, allocations: 11.94 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.9443, allocations: 8 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.9444, allocations: 101.8 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9444, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003169/0.9447, allocations: 51.44 kB / 1.029 GB, free: 10.59 MB / 0.6511 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.0008193/0.9455, allocations: 0.8141 MB / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.9457, allocations: 78.3 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9457, allocations: 0 / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.9458, allocations: 40.67 kB / 1.03 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.946, allocations: 14.5 kB / 1.03 GB, free: 9.703 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.9465, allocations: 173 kB / 1.03 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.9468, allocations: 0.6965 MB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.9469, allocations: 4 kB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.9469, allocations: 22.92 kB / 1.031 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.9469, allocations: 3.938 kB / 1.031 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.9616, allocations: 2.861 MB / 1.034 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.962, allocations: 207 kB / 1.034 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.561, allocations: 0 / 1.034 GB, free: 5.809 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)