Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.67/2.67, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001527/0.001527, allocations: 192.8 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001029/0.001028, allocations: 93.67 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.264e-05, allocations: 0 / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8271, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/1.073, allocations: 139.4 MB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.074, allocations: 83.55 kB / 1.1 GB, free: 0.9727 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01595/1.09, allocations: 3.197 MB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/1.09, allocations: 2.531 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.062e-05/1.09, allocations: 4.719 kB / 1.103 GB, free: 13.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008038/1.09, allocations: 456.8 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.09, allocations: 12.03 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/1.091, allocations: 7.906 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.091, allocations: 167.7 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/1.091, allocations: 4.594 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/1.091, allocations: 4 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/1.091, allocations: 28.92 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.091, allocations: 73.59 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.091, allocations: 0.9375 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/1.091, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.996e-06/1.091, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/1.092, allocations: 324.5 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/1.092, allocations: 48.61 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/1.093, allocations: 32.86 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/1.093, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/1.093, allocations: 87.39 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.335e-06/1.093, allocations: 0.875 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004584/1.093, allocations: 121.6 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/1.093, allocations: 56.06 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/1.094, allocations: 113.5 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/1.094, allocations: 29.7 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/1.094, allocations: 94.38 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/1.094, allocations: 15.72 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/1.094, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.094, allocations: 326.8 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/1.094, allocations: 19.94 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/1.094, allocations: 60.88 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.632e-05/1.094, allocations: 27.98 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.094, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002785/1.094, allocations: 105.5 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.095, allocations: 8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.095, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.095, allocations: 6.75 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/1.095, allocations: 19.92 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.095, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.095, allocations: 4.047 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/1.095, allocations: 15.97 kB / 1.105 GB, free: 11.39 MB / 0.7136 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 0.0001215/1.095, allocations: 120.8 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003661/1.095, allocations: 129.5 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/1.096, allocations: 7.906 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/1.096, allocations: 4.625 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.096, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.096, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.096, allocations: 7.953 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/1.096, allocations: 382.9 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.096, allocations: 6.062 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/1.096, allocations: 4 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.096, allocations: 0 / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.096, allocations: 7.984 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.096, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.096, allocations: 3.953 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/1.097, allocations: 215.4 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/1.097, allocations: 85.02 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/1.097, allocations: 0 / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/1.097, allocations: 19.67 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/1.097, allocations: 7.938 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/1.097, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.806e-05/1.097, allocations: 93.64 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.097, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004799/1.098, allocations: 51.94 kB / 1.106 GB, free: 10.18 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: 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.001128/1.099, allocations: 0.8249 MB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002843/1.099, allocations: 79.95 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.099, allocations: 0 / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.1, allocations: 35.94 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/1.1, allocations: 12.67 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/1.101, allocations: 168.2 kB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.101, allocations: 0.6962 MB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.379e-05/1.101, allocations: 12.11 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/1.101, allocations: 15.44 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/1.101, allocations: 4 kB / 1.108 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/1.142, allocations: 2.489 MB / 1.11 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/1.143, allocations: 181.4 kB / 1.11 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.555, allocations: 5.031 kB / 1.11 GB, free: 5.645 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)