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.001788/0.001788, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001653/0.001653, allocations: 214.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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.834/2.834, allocations: 476.7 MB / 0.7714 GB, free: 4.316 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.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.002672/0.002672, allocations: 68.52 kB / 1.118 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3567, allocations: 169.9 MB / 1.284 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003575/0.3603, allocations: 1.537 MB / 1.286 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3622, allocations: 0.8426 MB / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.3623, allocations: 0 / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.3623, allocations: 7.938 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.3624, allocations: 15.8 kB / 1.286 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.3631, allocations: 147.6 kB / 1.287 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3633, allocations: 95.7 kB / 1.287 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3634, allocations: 16.2 kB / 1.287 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3636, allocations: 51.84 kB / 1.287 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/0.3637, allocations: 47.81 kB / 1.287 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3637, allocations: 8 kB / 1.287 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.364, allocations: 143.8 kB / 1.287 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.3641, allocations: 23.91 kB / 1.287 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.3641, allocations: 39.8 kB / 1.287 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.3644, allocations: 163.5 kB / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3645, allocations: 0 / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3645, allocations: 0 / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3645, allocations: 4 kB / 1.287 GB, free: 0.7578 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007702/0.3652, allocations: 397.1 kB / 1.288 GB, free: 336 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3653, allocations: 8.031 kB / 1.288 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.712e-05/0.3653, allocations: 4.172 kB / 1.288 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3653, allocations: 38.75 kB / 1.288 GB, free: 276 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.3657, allocations: 24.88 kB / 1.288 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.366, allocations: 142.3 kB / 1.288 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.366, allocations: 8.375 kB / 1.288 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.366, allocations: 4.375 kB / 1.288 GB, free: 72 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.3663, allocations: 89.56 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3663, allocations: 3.938 kB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3663, allocations: 4 kB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3663, allocations: 4 kB / 1.288 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.3665, allocations: 47.91 kB / 1.288 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.367, allocations: 295.8 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3672, allocations: 54.56 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3673, allocations: 40.83 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3674, allocations: 4.188 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.3676, allocations: 99.34 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3676, allocations: 0 / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.000531/0.3681, allocations: 189.5 kB / 1.289 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3681, allocations: 51.41 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3683, allocations: 132.2 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3683, allocations: 33.7 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.3684, allocations: 96.36 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.3684, allocations: 19.84 kB / 1.289 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.3685, allocations: 33.7 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3686, allocations: 322.8 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.3687, allocations: 27.98 kB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.3688, allocations: 81.92 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.369, allocations: 105.9 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.369, allocations: 0 / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002861/0.3693, allocations: 145.4 kB / 1.29 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3693, allocations: 6.344 kB / 1.29 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3693, allocations: 4 kB / 1.29 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3694, allocations: 0 / 1.29 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3695, allocations: 19.92 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3695, allocations: 8.516 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.3695, allocations: 11.94 kB / 1.29 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3696, allocations: 7.984 kB / 1.29 GB, free: 14 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.0001349/0.3697, allocations: 129.7 kB / 1.29 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3697, allocations: 11.89 kB / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3698, allocations: 8.375 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3698, allocations: 4 kB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3698, allocations: 0 / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3698, allocations: 7.984 kB / 1.29 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.3704, allocations: 405.4 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3704, allocations: 0 / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.3705, allocations: 8 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3705, allocations: 0 / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3705, allocations: 3.984 kB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3705, allocations: 7.938 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3705, allocations: 0 / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.3709, allocations: 247.4 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3709, allocations: 11.89 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3709, allocations: 4 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.371, allocations: 11.94 kB / 1.29 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3711, allocations: 11.92 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3711, allocations: 3.984 kB / 1.29 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.3712, allocations: 102.2 kB / 1.291 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3712, allocations: 4 kB / 1.291 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003321/0.3715, allocations: 39.94 kB / 1.291 GB, free: 12.92 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.001035/0.3725, allocations: 0.84 MB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.3728, allocations: 91.88 kB / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3728, allocations: 3.938 kB / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.373, allocations: 43.92 kB / 1.292 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3733, allocations: 20.17 kB / 1.292 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3753, allocations: 1.603 MB / 1.293 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3758, allocations: 0.6961 MB / 1.294 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.3758, allocations: 8.672 kB / 1.294 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3759, allocations: 23.42 kB / 1.294 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3759, allocations: 0 / 1.294 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.4011, allocations: 3.197 MB / 1.297 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 4 kB / 1.297 GB, free: 6.402 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.455100713996217] Failed to read output from testmodel.py, exit status != 0: 11.859315957990475 11.880314722 11.511475756 Calling exit ...