Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.002062/0.002062, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.002142/0.002142, allocations: 215 kB / 20.13 MB, free: 2.949 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.012/3.012, allocations: 476.7 MB / 0.7678 GB, free: 9.363 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.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.002192/0.002192, allocations: 67.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003271/1.066, allocations: 1.539 MB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001783/1.068, allocations: 0.8343 MB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/1.068, allocations: 3.938 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/1.068, allocations: 5.672 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/1.068, allocations: 10.98 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/1.069, allocations: 146 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/1.069, allocations: 98.59 kB / 1.281 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/1.069, allocations: 7.391 kB / 1.281 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/1.069, allocations: 47.56 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/1.069, allocations: 47.5 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/1.069, allocations: 7.812 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/1.069, allocations: 115.9 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/1.069, allocations: 24.92 kB / 1.282 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/1.07, allocations: 37.19 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/1.07, allocations: 163.4 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.07, allocations: 4.531 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.07, allocations: 0.5 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.891e-06/1.07, allocations: 0 / 1.282 GB, free: 9.762 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008321/1.071, allocations: 469.7 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.071, allocations: 9.719 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.382e-05/1.071, allocations: 1.719 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/1.071, allocations: 38.44 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/1.071, allocations: 37.89 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/1.072, allocations: 187.4 kB / 1.283 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/1.072, allocations: 9.031 kB / 1.283 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/1.072, allocations: 10.08 kB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/1.072, allocations: 88.95 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.072, allocations: 0 / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/1.072, allocations: 1.891 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.072, allocations: 1.594 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/1.072, allocations: 48.19 kB / 1.283 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/1.073, allocations: 333.3 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/1.073, allocations: 57.12 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/1.073, allocations: 38.42 kB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/1.073, allocations: 6.203 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/1.073, allocations: 99.77 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/1.073, allocations: 1.25 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005696/1.074, allocations: 187.6 kB / 1.283 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.074, allocations: 54.38 kB / 1.284 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.074, allocations: 133 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/1.074, allocations: 31.44 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/1.074, allocations: 93.33 kB / 1.284 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/1.074, allocations: 21.47 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/1.074, allocations: 31.64 kB / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.074, allocations: 323.8 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/1.074, allocations: 29.58 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.075, allocations: 75.52 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/1.075, allocations: 111.5 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.075, allocations: 5.312 kB / 1.284 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002854/1.075, allocations: 138 kB / 1.284 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.075, allocations: 6.312 kB / 1.284 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.075, allocations: 5.219 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.075, allocations: 2.594 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.075, allocations: 22.84 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.075, allocations: 2.766 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/1.075, allocations: 6.719 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/1.075, allocations: 8.734 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.0001366/1.075, allocations: 132.8 kB / 1.285 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/1.076, allocations: 8.312 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/1.076, allocations: 10.58 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.076, allocations: 5.922 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.076, allocations: 1.625 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.076, allocations: 0.6562 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/1.076, allocations: 438.1 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.076, allocations: 0 / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/1.076, allocations: 4.875 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.076, allocations: 1 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/1.076, allocations: 3.594 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/1.076, allocations: 5.859 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.076, allocations: 4 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/1.077, allocations: 244.5 kB / 1.285 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/1.077, allocations: 84 kB / 1.285 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/1.077, allocations: 7.688 kB / 1.285 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.077, allocations: 7.859 kB / 1.285 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.077, allocations: 5.891 kB / 1.285 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.077, allocations: 9.406 kB / 1.285 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.13e-05/1.077, allocations: 99.67 kB / 1.286 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.077, allocations: 0 / 1.286 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004069/1.077, allocations: 49.14 kB / 1.286 GB, free: 6.637 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00107/1.078, allocations: 0.8491 MB / 1.286 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000295/1.079, allocations: 86.44 kB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.079, allocations: 1.344 kB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/1.079, allocations: 45.48 kB / 1.287 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/1.079, allocations: 26.31 kB / 1.287 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/1.081, allocations: 1.614 MB / 1.288 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/1.082, allocations: 0.6979 MB / 1.289 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.873e-05/1.082, allocations: 7.016 kB / 1.289 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/1.082, allocations: 21.86 kB / 1.289 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.082, allocations: 0 / 1.289 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.107, allocations: 3.073 MB / 1.292 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/9.734, allocations: 3.812 kB / 1.292 GB, free: 3.195 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.32297107501654] Failed to read output from testmodel.py, exit status != 0: 9.868748095992487 9.901772432 8.826353862 Calling exit ...