Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.001333/0.001333, 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.001772/0.001772, allocations: 219.8 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.805/2.805, allocations: 476.7 MB / 0.7715 GB, free: 4.227 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.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.002066/0.002066, allocations: 63.7 kB / 1.118 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002856/0.3586, allocations: 1.529 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3601, allocations: 0.8118 MB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.3601, allocations: 7.938 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.3602, allocations: 3.938 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.3602, allocations: 11.86 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.3609, allocations: 143.5 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3611, allocations: 71.77 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3612, allocations: 4.188 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3614, allocations: 47.84 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.3614, allocations: 31.83 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3615, allocations: 4 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.3618, allocations: 143.8 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.3618, allocations: 11.98 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.362, allocations: 43.78 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.3622, allocations: 147.1 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3623, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3623, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3623, allocations: 0 / 1.287 GB, free: 8.668 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.0007741/0.363, allocations: 377.2 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3631, allocations: 12.03 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/0.3631, allocations: 192 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3631, allocations: 34.75 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.3634, allocations: 32.86 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3637, allocations: 130.4 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.3637, allocations: 4.312 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3637, allocations: 12.12 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3639, allocations: 65.66 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3639, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.3639, allocations: 3.984 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.364, allocations: 0 / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3641, allocations: 47.95 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.3646, allocations: 271.8 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.3648, allocations: 42.56 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.3649, allocations: 24.97 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3649, allocations: 4 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.3651, allocations: 83.31 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3651, allocations: 0 / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004481/0.3655, allocations: 141.6 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3656, allocations: 55.41 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3657, allocations: 125.2 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3657, allocations: 29.7 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.3658, allocations: 96.08 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3659, allocations: 15.84 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.3659, allocations: 29.7 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3661, allocations: 326.8 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.3662, allocations: 19.98 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3663, allocations: 61.14 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3665, allocations: 101 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3665, allocations: 0 / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002881/0.3668, allocations: 113.5 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3668, allocations: 8 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3668, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3668, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.3669, allocations: 19.92 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3669, allocations: 4.156 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.367, allocations: 11.94 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.367, allocations: 3.938 kB / 1.289 GB, free: 6.164 MB / 0.9825 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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 0.0001037/0.3671, allocations: 124 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3671, allocations: 7.953 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3672, allocations: 8.359 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3672, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3672, allocations: 0 / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3672, allocations: 11.94 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3677, allocations: 357.4 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3677, allocations: 0 / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.3677, allocations: 0 / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3677, allocations: 4 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3677, allocations: 7.922 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3677, allocations: 0 / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3677, allocations: 0 / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.368, allocations: 199.9 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.368, allocations: 15.94 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3681, allocations: 3.938 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.3682, allocations: 7.938 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3682, allocations: 7.984 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.3682, allocations: 0 / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.3683, allocations: 99.27 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3683, allocations: 7.938 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000333/0.3686, allocations: 35.92 kB / 1.29 GB, free: 5.207 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0009731/0.3696, allocations: 0.8138 MB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3698, allocations: 71.83 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3698, allocations: 3.938 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3699, allocations: 31.98 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3702, allocations: 11.92 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3723, allocations: 1.521 MB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3727, allocations: 0.6908 MB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.3727, allocations: 4 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.3728, allocations: 23.42 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3728, allocations: 7.938 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.3972, allocations: 2.844 MB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 8 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.58896010898752] Failed to read output from testmodel.py, exit status != 0: 12.57381804997567 12.041737817 11.674800606 Calling exit ...