Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.684/2.684, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001382/0.001382, allocations: 176.9 kB / 360.6 MB, free: 7.316 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.046/2.046, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001043/0.001042, allocations: 88.45 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.92e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8247, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.255/1.08, allocations: 139.4 MB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/1.08, allocations: 80.92 kB / 1.1 GB, free: 0.918 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.01666/1.097, allocations: 3.207 MB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.097, allocations: 0.7188 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.097, allocations: 0 / 1.103 GB, free: 13.77 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.0008528/1.098, allocations: 460.5 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/1.098, allocations: 8.656 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/1.098, allocations: 7.906 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/1.098, allocations: 167.6 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/1.098, allocations: 4.875 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/1.098, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/1.098, allocations: 31.98 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.099, allocations: 74.25 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.099, allocations: 0.7188 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/1.099, allocations: 0 / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/1.099, allocations: 4.672 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/1.1, allocations: 327.6 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/1.1, allocations: 46.61 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/1.1, allocations: 40.78 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/1.1, allocations: 4.141 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/1.1, allocations: 85.59 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 3.126e-06/1.1, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004704/1.101, allocations: 117.6 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.101, allocations: 58.62 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.101, allocations: 110.1 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.101, allocations: 25.7 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/1.101, allocations: 92.14 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/1.101, allocations: 23.7 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/1.101, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.101, allocations: 326.8 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/1.101, allocations: 20.78 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/1.102, allocations: 51.89 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/1.102, allocations: 35.05 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.102, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002801/1.102, allocations: 101.5 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.102, allocations: 8 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.102, allocations: 5.578 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.102, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.102, allocations: 19.94 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.102, allocations: 3.984 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/1.102, allocations: 4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/1.102, allocations: 4.094 kB / 1.105 GB, free: 11.33 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.0001298/1.103, allocations: 116.7 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003794/1.103, allocations: 136.9 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.103, allocations: 7.906 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/1.103, allocations: 8.609 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.103, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.103, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.103, allocations: 7.953 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/1.104, allocations: 383 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.104, allocations: 0 / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/1.104, allocations: 7.984 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.104, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/1.104, allocations: 6.438 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.104, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.104, allocations: 7.078 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/1.105, allocations: 223.4 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/1.105, allocations: 85.02 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/1.105, allocations: 4 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/1.105, allocations: 7.984 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/1.105, allocations: 7.953 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/1.105, allocations: 3.984 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.869e-05/1.105, allocations: 92.41 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.105, allocations: 0 / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005098/1.106, allocations: 55.92 kB / 1.106 GB, free: 10.11 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.001202/1.107, allocations: 0.8251 MB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002842/1.107, allocations: 71.94 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.107, allocations: 0 / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/1.107, allocations: 39.92 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.108, allocations: 4 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/1.108, allocations: 172.1 kB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.109, allocations: 0.6965 MB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.391e-05/1.109, allocations: 7.984 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/1.109, allocations: 23.44 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/1.109, allocations: 1.688 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/1.155, allocations: 2.518 MB / 1.11 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/1.155, allocations: 182.1 kB / 1.11 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.714, allocations: 0 / 1.11 GB, free: 5.559 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)