Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001732/0.001732, 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.00144/0.00144, allocations: 218 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.809/2.809, allocations: 476.7 MB / 0.7714 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001987/0.001987, allocations: 62.19 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003166/0.3317, allocations: 1.535 MB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3334, allocations: 0.8158 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.3335, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.3335, allocations: 3.938 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.3336, allocations: 19.86 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.3342, allocations: 147.5 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3343, allocations: 79.72 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.365e-05/0.3344, allocations: 15.97 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3345, allocations: 39.91 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.3346, allocations: 43.81 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3346, allocations: 8 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.3349, allocations: 139.8 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3349, allocations: 19.98 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.335, allocations: 43.72 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3352, allocations: 139.7 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3352, allocations: 3.984 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3352, allocations: 0 / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3353, allocations: 4 kB / 1.287 GB, free: 8.684 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006198/0.3359, allocations: 351.6 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3359, allocations: 8.031 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.073e-05/0.3359, allocations: 4.188 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.336, allocations: 42.73 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.3363, allocations: 32.81 kB / 1.288 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3365, allocations: 128.3 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3365, allocations: 4.375 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3366, allocations: 12.06 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3368, allocations: 73.64 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3368, allocations: 4 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3368, allocations: 0 / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3368, allocations: 0 / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3369, allocations: 35.97 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.3375, allocations: 287.8 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3376, allocations: 46.56 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.3377, allocations: 32.97 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3377, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3379, allocations: 75.31 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3379, allocations: 0 / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004163/0.3383, allocations: 149.6 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3384, allocations: 55.41 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3385, allocations: 118.1 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3385, allocations: 33.69 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.3386, allocations: 92.09 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3386, allocations: 15.84 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.3386, allocations: 25.7 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3388, allocations: 326.8 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.3389, allocations: 31.98 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.339, allocations: 55.34 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3391, allocations: 71.42 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3391, allocations: 4 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002599/0.3394, allocations: 125.5 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3394, allocations: 4 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3394, allocations: 4 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3394, allocations: 0 / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.3395, allocations: 11.98 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3395, allocations: 11.88 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.3396, allocations: 11.94 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3396, allocations: 8.062 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.963e-05/0.3397, allocations: 122.7 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.3397, allocations: 11.94 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.3398, allocations: 8.375 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3398, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3398, allocations: 0 / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3398, allocations: 7.938 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.3403, allocations: 353.5 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3403, allocations: 0 / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.3403, allocations: 8 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3403, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3403, allocations: 11.98 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3403, allocations: 0 / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3403, allocations: 0 / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.3406, allocations: 203.5 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.3406, allocations: 11.89 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3407, allocations: 11.92 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.3408, allocations: 4 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.3408, allocations: 3.984 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3408, allocations: 4 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.3409, allocations: 91.27 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 3.938 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003158/0.3412, allocations: 35.94 kB / 1.29 GB, free: 5.262 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0008576/0.342, allocations: 0.8183 MB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3423, allocations: 79.86 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3423, allocations: 0 / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3424, allocations: 35.92 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.3427, allocations: 8 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3444, allocations: 1.503 MB / 1.293 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3447, allocations: 0.6923 MB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.3447, allocations: 11.98 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.3448, allocations: 19.44 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3448, allocations: 0 / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.3684, allocations: 2.861 MB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 3.562 kB / 1.296 GB, free: 15.26 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.656855811015703] Failed to read output from testmodel.py, exit status != 0: 12.657806303992402 12.156497785000001 11.81687454 Calling exit ...