Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.647/1.647, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.004/3.004, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003339/1.183, allocations: 1.679 MB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001886/1.185, allocations: 0.8904 MB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/1.185, allocations: 4.688 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/1.185, allocations: 10.17 kB / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/1.185, allocations: 26 kB / 1.281 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/1.186, allocations: 170.9 kB / 1.282 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/1.186, allocations: 163.5 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/1.186, allocations: 22.12 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/1.186, allocations: 75.97 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/1.186, allocations: 80.11 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/1.186, allocations: 12.88 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/1.187, allocations: 120.8 kB / 1.282 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/1.187, allocations: 31.52 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/1.187, allocations: 62.55 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/1.187, allocations: 220.3 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.187, allocations: 0 / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.187, allocations: 3.938 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.187, allocations: 4 kB / 1.282 GB, free: 9.52 MB / 0.9981 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.0008816/1.188, allocations: 0.5466 MB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.188, allocations: 10.94 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.799e-05/1.188, allocations: 1.688 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/1.188, allocations: 42.16 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007391/1.189, allocations: 82.44 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/1.189, allocations: 210.9 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/1.189, allocations: 7.703 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.189, allocations: 6.312 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/1.19, allocations: 145 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.19, allocations: 5.25 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/1.19, allocations: 0 / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/1.19, allocations: 1.281 kB / 1.283 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/1.19, allocations: 105.1 kB / 1.284 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/1.191, allocations: 378.4 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/1.192, allocations: 103.4 kB / 1.284 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/1.192, allocations: 80.25 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/1.192, allocations: 9.516 kB / 1.284 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/1.192, allocations: 140.3 kB / 1.284 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/1.192, allocations: 0 / 1.284 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001251/1.194, allocations: 307.3 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.194, allocations: 54.44 kB / 1.285 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/1.194, allocations: 159.8 kB / 1.285 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.194, allocations: 31.61 kB / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/1.194, allocations: 108.9 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/1.194, allocations: 21.42 kB / 1.285 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/1.194, allocations: 30.75 kB / 1.285 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.194, allocations: 325.5 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/1.194, allocations: 42.66 kB / 1.285 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/1.195, allocations: 81.88 kB / 1.285 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/1.195, allocations: 128.7 kB / 1.285 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.195, allocations: 1.312 kB / 1.285 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003978/1.195, allocations: 159.7 kB / 1.286 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.195, allocations: 10.27 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.195, allocations: 2.219 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.195, allocations: 3.109 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/1.195, allocations: 22.31 kB / 1.286 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/1.195, allocations: 3.797 kB / 1.286 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.196, allocations: 25.34 kB / 1.286 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/1.196, allocations: 5.719 kB / 1.286 GB, free: 7.109 MB / 0.9981 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.0001282/1.196, allocations: 121 kB / 1.286 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/1.196, allocations: 14.09 kB / 1.286 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/1.196, allocations: 13.12 kB / 1.286 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.196, allocations: 2.375 kB / 1.286 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.196, allocations: 0 / 1.286 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.196, allocations: 8.391 kB / 1.286 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/1.197, allocations: 0.5307 MB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.197, allocations: 0 / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/1.197, allocations: 13.45 kB / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.197, allocations: 0 / 1.286 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.197, allocations: 8.188 kB / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.197, allocations: 1.406 kB / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.197, allocations: 0 / 1.286 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/1.198, allocations: 329.7 kB / 1.287 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/1.198, allocations: 92.42 kB / 1.287 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.198, allocations: 10.17 kB / 1.287 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/1.198, allocations: 20.03 kB / 1.287 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/1.198, allocations: 11.41 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/1.199, allocations: 5.109 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001109/1.199, allocations: 112.2 kB / 1.287 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.199, allocations: 3.938 kB / 1.287 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003925/1.199, allocations: 51.23 kB / 1.287 GB, free: 6.18 MB / 0.9981 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.001535/1.201, allocations: 0.9183 MB / 1.288 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006244/1.201, allocations: 151.1 kB / 1.288 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.201, allocations: 0 / 1.288 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/1.202, allocations: 82.28 kB / 1.288 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/1.202, allocations: 14.28 kB / 1.288 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/1.205, allocations: 1.804 MB / 1.29 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.205, allocations: 0.7013 MB / 1.291 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.946e-05/1.205, allocations: 8.719 kB / 1.291 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/1.205, allocations: 32.41 kB / 1.291 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.205, allocations: 4 kB / 1.291 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/1.227, allocations: 3.634 MB / 1.294 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/9.804, allocations: 11.48 kB / 1.294 GB, free: 2.641 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.38170887902379] Failed to read output from testmodel.py, exit status != 0: 9.93641954899067 9.958712146 8.76714365 Calling exit ...