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.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.001318/0.001318, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001613/0.001613, allocations: 215.2 kB / 23.04 MB, free: 5.074 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.961 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 2.839/2.839, allocations: 476.7 MB / 0.7715 GB, free: 4.402 MB / 0.6231 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.002005/0.002005, allocations: 65.61 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003545/0.3652, allocations: 1.552 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3669, allocations: 0.8391 MB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.3669, allocations: 4 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.367, allocations: 7.875 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.367, allocations: 11.88 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.3677, allocations: 163.5 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3679, allocations: 107.7 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.368, allocations: 11.94 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3681, allocations: 51.91 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3682, allocations: 55.8 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3683, allocations: 8 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.3686, allocations: 151.7 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.3686, allocations: 27.91 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.3687, allocations: 47.78 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.3689, allocations: 167.6 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3689, allocations: 3.938 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3689, allocations: 0 / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.369, allocations: 0 / 1.287 GB, free: 8.543 MB / 0.9825 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.0007479/0.3697, allocations: 393.2 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3697, allocations: 8.031 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.3698, allocations: 8.125 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3698, allocations: 34.75 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.3703, allocations: 44.8 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3706, allocations: 138.4 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3706, allocations: 4.375 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3706, allocations: 12.36 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.3709, allocations: 89.56 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3709, allocations: 4 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3709, allocations: 3.984 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3709, allocations: 0 / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.3711, allocations: 47.91 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.3719, allocations: 319.8 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3721, allocations: 50.64 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3722, allocations: 48.77 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3722, allocations: 0 / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.3725, allocations: 95.52 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3725, allocations: 0 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005864/0.3731, allocations: 189.5 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3731, allocations: 55.41 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3732, allocations: 128.6 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3733, allocations: 33.7 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.3734, allocations: 104.1 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3734, allocations: 11.84 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.3735, allocations: 33.7 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3736, allocations: 322.8 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.3737, allocations: 27.98 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3739, allocations: 68.27 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.374, allocations: 96.2 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.374, allocations: 4 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.3743, allocations: 129.5 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3743, allocations: 10.66 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3743, allocations: 3.938 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3744, allocations: 4 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3745, allocations: 11.98 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3745, allocations: 4.312 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.3745, allocations: 7.953 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3746, allocations: 15.92 kB / 1.29 GB, free: 5.801 MB / 0.9825 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 0.0001334/0.3747, allocations: 125.8 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3747, allocations: 7.953 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.3748, allocations: 12.38 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3748, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3748, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3748, allocations: 3.984 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.3754, allocations: 413.4 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3754, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3755, allocations: 7.984 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3755, allocations: 0 / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3755, allocations: 0 / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3755, allocations: 3.938 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3755, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.376, allocations: 255.4 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.376, allocations: 7.953 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.376, allocations: 8.047 kB / 1.291 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3761, allocations: 11.92 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3762, allocations: 7.984 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3762, allocations: 11.98 kB / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.3762, allocations: 99.27 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3762, allocations: 0 / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003297/0.3766, allocations: 39.94 kB / 1.291 GB, free: 4.727 MB / 0.9825 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.001064/0.3776, allocations: 0.8433 MB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.378, allocations: 79.89 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.378, allocations: 0 / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3781, allocations: 51.91 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3784, allocations: 15.92 kB / 1.292 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3804, allocations: 1.595 MB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3808, allocations: 0.6924 MB / 1.294 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.391e-05/0.3808, allocations: 7.984 kB / 1.294 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.3809, allocations: 19.44 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3809, allocations: 0 / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.4055, allocations: 3.226 MB / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.87, allocations: 7.219 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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: 18.76135610899655] Failed to read output from testmodel.py, exit status != 0: 12.608509813027922 12.049478019 11.677097282 Calling exit ...