Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 110.7 kB / 17.6 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 189.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9905/0.9926, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002623/0.9952, allocations: 1.546 MB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.9966, allocations: 0.7729 MB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.9966, allocations: 0.6562 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.9966, allocations: 5.891 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.9967, allocations: 10.73 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.9973, allocations: 142.3 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.9974, allocations: 99.16 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.9975, allocations: 12.14 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.9976, allocations: 49.53 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.9977, allocations: 55.3 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.9977, allocations: 9.375 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.9979, allocations: 106.3 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.9979, allocations: 22.91 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.998, allocations: 46.77 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.9982, allocations: 161.1 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9982, allocations: 0 / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9982, allocations: 0 / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.9982, allocations: 0.9375 kB / 1.274 GB, free: 5.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005933/0.9988, allocations: 461.8 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.9989, allocations: 9.406 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.9989, allocations: 37.06 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.9989, allocations: 13.61 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.999, allocations: 178 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.999, allocations: 7.531 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.9991, allocations: 12.23 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.9993, allocations: 88.2 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.9993, allocations: 4 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9993, allocations: 1.281 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.9993, allocations: 1.656 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.9995, allocations: 47.53 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/1, allocations: 354.7 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/1, allocations: 55.41 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/1.001, allocations: 42.53 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/1.001, allocations: 1 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/1.001, allocations: 98.67 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/1.001, allocations: 4 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005994/1.001, allocations: 182.9 kB / 1.276 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/1.001, allocations: 60.8 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.002, allocations: 128.2 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.002, allocations: 31.23 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/1.002, allocations: 88.92 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/1.002, allocations: 20.41 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/1.002, allocations: 32.75 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/1.002, allocations: 324.4 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/1.002, allocations: 30.73 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.002, allocations: 68.33 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/1.002, allocations: 98.81 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.002, allocations: 0 / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00026/1.002, allocations: 122.6 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.002, allocations: 12.56 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.002, allocations: 2.094 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.002, allocations: 1.906 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.003, allocations: 21.8 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.003, allocations: 1.625 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/1.003, allocations: 15.25 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/1.003, allocations: 3.625 kB / 1.277 GB, free: 3.668 MB / 0.9981 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,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 7.79e-05/1.003, allocations: 132.7 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/1.003, allocations: 9.781 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/1.003, allocations: 6.094 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.003, allocations: 0.9062 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.003, allocations: 1.125 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.003, allocations: 0 / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/1.003, allocations: 433.4 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.003, allocations: 0 / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/1.003, allocations: 14.05 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.003, allocations: 0.9688 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.003, allocations: 10.58 kB / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.003, allocations: 0.9375 kB / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.003, allocations: 6 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/1.004, allocations: 241.5 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/1.004, allocations: 87.94 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/1.004, allocations: 1.719 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.004, allocations: 5.531 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/1.004, allocations: 13.67 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.004, allocations: 6.297 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.42e-05/1.004, allocations: 92.02 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 0 / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003677/1.004, allocations: 46.03 kB / 1.278 GB, free: 2.781 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * 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 (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.0008921/1.005, allocations: 0.8575 MB / 1.279 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003134/1.006, allocations: 87.08 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.006, allocations: 0.75 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/1.006, allocations: 47.48 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/1.006, allocations: 16.84 kB / 1.279 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/1.008, allocations: 1.597 MB / 1.281 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/1.008, allocations: 0.6933 MB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.843e-05/1.008, allocations: 6.047 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/1.008, allocations: 27.95 kB / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.008, allocations: 0 / 1.281 GB, free: 15.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/1.035, allocations: 2.998 MB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/9.333, allocations: 14.95 kB / 1.284 GB, free: 15.38 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.415089401998557] Failed to read output from testmodel.py, exit status != 0: 9.404787442996167 9.428615234 8.425876623 Calling exit ...