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.001884/0.001884, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002019/0.002019, allocations: 219.2 kB / 23.03 MB, free: 4.945 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.895/2.895, allocations: 476.8 MB / 0.7715 GB, free: 3.84 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.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.001925/0.001925, allocations: 67.86 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002984/0.348, allocations: 1.522 MB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3496, allocations: 0.773 MB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3497, allocations: 3.938 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.3497, allocations: 3.938 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.3498, allocations: 11.88 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.3504, allocations: 155.5 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3506, allocations: 95.7 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3507, allocations: 19.94 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3508, allocations: 47.89 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.3509, allocations: 43.83 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.351, allocations: 11.94 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.3513, allocations: 143.8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.3513, allocations: 19.92 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.3514, allocations: 31.86 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3517, allocations: 171.4 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3517, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3517, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3517, allocations: 4 kB / 1.287 GB, free: 7.582 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.0006951/0.3524, allocations: 389.2 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3524, allocations: 8.031 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.243e-05/0.3525, allocations: 4.188 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.3525, allocations: 34.73 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.3528, allocations: 32.88 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3531, allocations: 136.7 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.3532, allocations: 4.375 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3532, allocations: 12.38 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3534, allocations: 93.44 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3534, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3534, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3534, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3536, allocations: 43.97 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.3541, allocations: 291.7 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3543, allocations: 58.56 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3544, allocations: 40.83 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3544, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.3546, allocations: 103.3 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3546, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005128/0.3552, allocations: 189.5 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3552, allocations: 55.41 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3553, allocations: 133.8 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3554, allocations: 29.7 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.3554, allocations: 96.36 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3554, allocations: 15.91 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.3555, allocations: 33.64 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3557, allocations: 326.8 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.3557, allocations: 27.98 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3559, allocations: 73.64 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3561, allocations: 113.9 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3561, allocations: 0 / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002818/0.3563, allocations: 141.4 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3564, allocations: 4 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3564, allocations: 8.156 kB / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3564, allocations: 0 / 1.289 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3565, allocations: 20.3 kB / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3565, allocations: 4 kB / 1.289 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.3566, allocations: 4 kB / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3566, allocations: 11.98 kB / 1.289 GB, free: 4.844 MB / 0.9825 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.0001177/0.3567, allocations: 134.9 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3567, allocations: 7.953 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.3567, allocations: 12.38 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3567, allocations: 4 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3568, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.3568, allocations: 3.984 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.3574, allocations: 397.6 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.3574, allocations: 4 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.3574, allocations: 3.984 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3574, allocations: 4 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3574, allocations: 4 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3574, allocations: 3.938 kB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3574, allocations: 4 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.3578, allocations: 263.4 kB / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.3579, allocations: 15.88 kB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3579, allocations: 0 / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.358, allocations: 7.938 kB / 1.29 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.358, allocations: 11.98 kB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.358, allocations: 7.984 kB / 1.29 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.3581, allocations: 91.27 kB / 1.29 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3581, allocations: 4 kB / 1.29 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003441/0.3584, allocations: 39.88 kB / 1.29 GB, free: 3.762 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: 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.001055/0.3595, allocations: 0.8536 MB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.3598, allocations: 92.08 kB / 1.291 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3598, allocations: 4.062 kB / 1.291 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3599, allocations: 47.91 kB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3602, allocations: 11.92 kB / 1.291 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.3622, allocations: 1.609 MB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.3623, allocations: 75.19 kB / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.3623, allocations: 12.66 kB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.3624, allocations: 27.36 kB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3624, allocations: 0 / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.3884, allocations: 3.275 MB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 6.172 kB / 1.296 GB, free: 13.8 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.83094670297578] Failed to read output from testmodel.py, exit status != 0: 12.725317010073923 12.15623323 11.801431554 Calling exit ...