Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.5 MB / 257 MB, free: 6.844 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.001008/0.001009, allocations: 176.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008465/0.0008468, allocations: 81.38 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.326e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7107/0.9049, allocations: 134.4 MB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.9052, allocations: 82.81 kB / 1.017 GB, free: 2.977 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.01155/0.9168, allocations: 3.788 MB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9168, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.9168, allocations: 0 / 1.02 GB, free: 15.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007007/0.9175, allocations: 0.52 MB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9176, allocations: 8.031 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.9176, allocations: 23.75 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.9178, allocations: 184.3 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.9178, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.9179, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/0.918, allocations: 47.42 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.9182, allocations: 96.38 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.9182, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.9182, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9182, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009734/0.9192, allocations: 391.4 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.9193, allocations: 58 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.9194, allocations: 44.11 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.9194, allocations: 4 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.9196, allocations: 102.5 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.9196, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003523/0.92, allocations: 148.2 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.92, allocations: 52.34 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9201, allocations: 136.8 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.9201, allocations: 29.64 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.9202, allocations: 97.56 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.9202, allocations: 23.2 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.9202, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.9203, allocations: 324.8 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.9204, allocations: 18.69 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.9205, allocations: 63.45 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.9206, allocations: 32.98 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9206, allocations: 96 / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001925/0.9208, allocations: 120.3 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9208, allocations: 4 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.9208, allocations: 4 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9208, allocations: 4.109 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.921, allocations: 27.23 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.921, allocations: 15.88 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.9211, allocations: 15.92 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.9211, allocations: 8 kB / 1.023 GB, free: 13.19 MB / 0.6511 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.509e-05/0.9212, allocations: 101 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002855/0.9215, allocations: 154.4 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.9215, allocations: 7.906 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.9216, allocations: 11.88 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9216, allocations: 3.953 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9216, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.9216, allocations: 11.98 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.9221, allocations: 420.4 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9221, allocations: 0 / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.9222, allocations: 19.98 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9222, allocations: 0 / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.9222, allocations: 11.94 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9222, allocations: 0 / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9222, allocations: 0 / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.9225, allocations: 239.3 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.9226, allocations: 85.02 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.9226, allocations: 3.656 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.9228, allocations: 39.86 kB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.9229, allocations: 7.984 kB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.9229, allocations: 11.92 kB / 1.024 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.923, allocations: 108.4 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.923, allocations: 4 kB / 1.024 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003712/0.9234, allocations: 55.94 kB / 1.024 GB, free: 11.98 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: 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.000821/0.9242, allocations: 0.8467 MB / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.9244, allocations: 81.61 kB / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9244, allocations: 0 / 1.025 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.9245, allocations: 50.06 kB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.9247, allocations: 11.5 kB / 1.025 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.9252, allocations: 195.6 kB / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.9255, allocations: 0.7082 MB / 1.026 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.525e-05/0.9256, allocations: 4 kB / 1.026 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.9256, allocations: 29.86 kB / 1.026 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of SimCode: time 4e-07/0.9256, allocations: 0 / 1.026 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.9451, allocations: 2.9 MB / 1.029 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.9453, allocations: 218.8 kB / 1.029 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.452, allocations: 2.344 kB / 1.029 GB, free: 6.945 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)