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.0009959/0.0009959, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00722/0.00722, allocations: 170 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 222.4 MB, free: 5.555 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 1.728/1.728, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005521/0.0005521, allocations: 20.81 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2162, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001645/0.2179, allocations: 1.363 MB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2192, allocations: 0.8113 MB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.2193, allocations: 0 / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.2193, allocations: 7.922 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.2194, allocations: 15.86 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.2199, allocations: 127.7 kB / 0.7903 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.2201, allocations: 151.5 kB / 0.7904 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2202, allocations: 21.34 kB / 0.7904 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2203, allocations: 59.81 kB / 0.7905 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.2204, allocations: 67.78 kB / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.2205, allocations: 7.938 kB / 0.7906 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2207, allocations: 95.86 kB / 0.7906 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.2207, allocations: 31.89 kB / 0.7907 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.2208, allocations: 77.47 kB / 0.7908 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.2211, allocations: 195.4 kB / 0.7909 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2211, allocations: 0 / 0.7909 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2211, allocations: 0 / 0.7909 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2211, allocations: 0 / 0.7909 GB, free: 8.484 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.0007685/0.2219, allocations: 0.5291 MB / 0.7915 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2219, allocations: 8.031 kB / 0.7915 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.222, allocations: 42.73 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.222, allocations: 12.75 kB / 0.7915 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2221, allocations: 184.1 kB / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2222, allocations: 4.375 kB / 0.7917 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.2222, allocations: 8.375 kB / 0.7917 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.2227, allocations: 169.6 kB / 0.7919 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2227, allocations: 0 / 0.7919 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2227, allocations: 0 / 0.7919 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2227, allocations: 0 / 0.7919 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.2232, allocations: 139.8 kB / 0.792 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.224, allocations: 384.6 kB / 0.7924 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.2244, allocations: 114.5 kB / 0.7925 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.2248, allocations: 108.7 kB / 0.7926 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2248, allocations: 0 / 0.7926 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.2252, allocations: 155.4 kB / 0.7927 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2253, allocations: 4 kB / 0.7927 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001191/0.2264, allocations: 353.2 kB / 0.7931 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2265, allocations: 59.39 kB / 0.7931 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2266, allocations: 148.9 kB / 0.7933 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2267, allocations: 29.7 kB / 0.7933 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2267, allocations: 100.3 kB / 0.7934 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2268, allocations: 19.75 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.2268, allocations: 21.7 kB / 0.7934 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2269, allocations: 334.8 kB / 0.7937 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2271, allocations: 43.97 kB / 0.7938 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2273, allocations: 93.06 kB / 0.7939 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.2275, allocations: 133 kB / 0.794 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2276, allocations: 4 kB / 0.794 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003796/0.2279, allocations: 169.3 kB / 0.7942 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.228, allocations: 8 kB / 0.7942 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.228, allocations: 0 / 0.7942 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.228, allocations: 4 kB / 0.7942 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.2281, allocations: 36.05 kB / 0.7942 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2282, allocations: 4.359 kB / 0.7942 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2283, allocations: 12 kB / 0.7942 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2283, allocations: 11.92 kB / 0.7942 GB, free: 4.805 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2284, allocations: 121.8 kB / 0.7944 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.2284, allocations: 15.75 kB / 0.7944 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.2285, allocations: 16.83 kB / 0.7944 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2285, allocations: 3.938 kB / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2285, allocations: 0 / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2285, allocations: 3.984 kB / 0.7944 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2296, allocations: 0.5568 MB / 0.7949 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2296, allocations: 0 / 0.7949 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.2297, allocations: 19.97 kB / 0.795 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2297, allocations: 0 / 0.795 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2297, allocations: 7.984 kB / 0.795 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2297, allocations: 3.938 kB / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2297, allocations: 0 / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.2306, allocations: 363.2 kB / 0.7953 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2306, allocations: 84.92 kB / 0.7954 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2307, allocations: 8 kB / 0.7954 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.2309, allocations: 27.91 kB / 0.7954 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.231, allocations: 11.98 kB / 0.7954 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.231, allocations: 7.984 kB / 0.7955 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.403e-05/0.2311, allocations: 105.9 kB / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2311, allocations: 4 kB / 0.7956 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003382/0.2315, allocations: 47.98 kB / 0.7956 GB, free: 3.305 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.2329, allocations: 0.9532 MB / 0.7965 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005514/0.2334, allocations: 171.9 kB / 0.7967 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2334, allocations: 0 / 0.7967 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.2338, allocations: 104 kB / 0.7968 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.2341, allocations: 11.92 kB / 0.7968 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.2366, allocations: 1.86 MB / 0.7986 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2369, allocations: 0.7005 MB / 0.7993 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.124e-05/0.2369, allocations: 15.94 kB / 0.7993 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.237, allocations: 35.42 kB / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.237, allocations: 4 kB / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.2505, allocations: 3.077 MB / 0.8024 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.2508, allocations: 270.6 kB / 0.8026 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.012, allocations: 0 / 0.8026 GB, free: 12.06 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/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)