Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00244/0.00244, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.429/3.429, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.179/3.179, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000962/0.0009621, allocations: 12.72 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5096, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003442/0.5131, allocations: 1.313 MB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.5156, allocations: 0.7845 MB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.5157, allocations: 0 / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.5158, allocations: 7.922 kB / 0.7893 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.516, allocations: 19.91 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.5169, allocations: 123.6 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.5172, allocations: 87.83 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.5174, allocations: 17.39 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.5176, allocations: 59.81 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.5178, allocations: 71.72 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.5178, allocations: 8 kB / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.5181, allocations: 71.88 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.5182, allocations: 27.89 kB / 0.7898 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.5183, allocations: 45.64 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.5187, allocations: 139.7 kB / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5187, allocations: 3.938 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.909e-06/0.5187, allocations: 0 / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5187, allocations: 0 / 0.7899 GB, free: 9.094 MB / 0.6075 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.001555/0.5203, allocations: 0.5251 MB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.806e-05/0.5204, allocations: 8.031 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.5205, allocations: 34.56 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.5206, allocations: 15.81 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.521, allocations: 186.8 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.521, allocations: 8 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.5211, allocations: 7.938 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.5218, allocations: 157.5 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5218, allocations: 4 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.5218, allocations: 0 / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.5219, allocations: 4 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.5225, allocations: 123.9 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5238, allocations: 392.5 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.5243, allocations: 118.5 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.5244, allocations: 0 / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006737/0.525, allocations: 159.2 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.5251, allocations: 0 / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001676/0.5267, allocations: 361.2 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.5268, allocations: 51.41 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.527, allocations: 144.9 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5271, allocations: 29.7 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.5272, allocations: 100.4 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.5272, allocations: 31.72 kB / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.5273, allocations: 0 / 0.7923 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5274, allocations: 322.8 kB / 0.7926 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.5276, allocations: 48.34 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.5279, allocations: 85.23 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.5281, allocations: 59.91 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5281, allocations: 3.938 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005298/0.5287, allocations: 181.3 kB / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.5287, allocations: 8 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5287, allocations: 3.984 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.5288, allocations: 4 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.529, allocations: 19.98 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.529, allocations: 3.953 kB / 0.793 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.5292, allocations: 20.05 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.5292, allocations: 4 kB / 0.793 GB, free: 5.656 MB / 0.6075 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,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.0001738/0.5294, allocations: 125.8 kB / 0.7932 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.5295, allocations: 11.81 kB / 0.7932 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.5295, allocations: 16.7 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5296, allocations: 0 / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.5296, allocations: 0 / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5296, allocations: 3.953 kB / 0.7932 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.5311, allocations: 0.5529 MB / 0.7937 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5312, allocations: 0 / 0.7937 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5313, allocations: 23.98 kB / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5313, allocations: 0 / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.5314, allocations: 3.984 kB / 0.7937 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5314, allocations: 7.953 kB / 0.7938 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5314, allocations: 0 / 0.7938 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.5325, allocations: 355.2 kB / 0.7941 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.5326, allocations: 88.92 kB / 0.7942 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.5327, allocations: 3.984 kB / 0.7942 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.533, allocations: 31.97 kB / 0.7942 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.5331, allocations: 15.94 kB / 0.7942 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.5331, allocations: 4 kB / 0.7942 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001062/0.5332, allocations: 113.8 kB / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5333, allocations: 192 / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005436/0.5338, allocations: 44 kB / 0.7944 GB, free: 4.164 MB / 0.6075 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * 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.002107/0.5359, allocations: 0.9604 MB / 0.7953 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008466/0.5368, allocations: 163.8 kB / 0.7955 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5368, allocations: 0 / 0.7955 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.5373, allocations: 116.1 kB / 0.7956 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.5376, allocations: 6.391 kB / 0.7956 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.5398, allocations: 1.294 MB / 0.7969 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.5404, allocations: 0.7004 MB / 0.7975 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.5405, allocations: 19.62 kB / 0.7976 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5406, allocations: 31.42 kB / 0.7976 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/0.5406, allocations: 0 / 0.7976 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.5671, allocations: 3.042 MB / 0.8006 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000398/0.5676, allocations: 244.8 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.386/3.953, allocations: 3.5 kB / 0.8008 GB, free: 13.64 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) Environment - environmentSimulation: