Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001384/0.001384, 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.001595/0.001595, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.794/2.794, allocations: 476.8 MB / 0.7715 GB, free: 3.91 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.002022/0.002022, allocations: 60.94 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 170 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003977/0.3736, allocations: 1.512 MB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3753, allocations: 0.7652 MB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.3753, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.3754, allocations: 11.88 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.3755, allocations: 19.84 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.3761, allocations: 147.5 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3763, allocations: 99.75 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3764, allocations: 23.86 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3765, allocations: 47.84 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.3766, allocations: 39.83 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3766, allocations: 12 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.377, allocations: 147.7 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.377, allocations: 23.92 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.3771, allocations: 31.84 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3774, allocations: 163 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3774, allocations: 0 / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3774, allocations: 0 / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3774, allocations: 0 / 1.287 GB, free: 7.738 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.0008007/0.3782, allocations: 397.1 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.3782, allocations: 8.031 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.3783, allocations: 16.17 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/0.3783, allocations: 30.75 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.3787, allocations: 28.88 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.379, allocations: 136.7 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.379, allocations: 4.375 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.379, allocations: 4.375 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.3793, allocations: 93.5 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3793, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3793, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3793, allocations: 8 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3795, allocations: 43.97 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.3802, allocations: 283.8 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3804, allocations: 58.59 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3805, allocations: 40.83 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3805, allocations: 0 / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.3807, allocations: 95.36 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3807, allocations: 0 / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005387/0.3812, allocations: 197.4 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3813, allocations: 55.41 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3814, allocations: 133.7 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.3815, allocations: 29.7 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.3816, allocations: 92.36 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3816, allocations: 19.84 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.3816, allocations: 33.7 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3818, allocations: 330.8 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.3819, allocations: 27.98 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.382, allocations: 73.22 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3822, allocations: 105.9 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3822, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002788/0.3825, allocations: 145.4 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3825, allocations: 4 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3825, allocations: 4 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3825, allocations: 3.938 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.3826, allocations: 20.02 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3826, allocations: 4 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.3827, allocations: 12.09 kB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3827, allocations: 11.98 kB / 1.289 GB, free: 4.988 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.0001309/0.3828, allocations: 127.1 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.3829, allocations: 7.953 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.3829, allocations: 8.375 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3829, allocations: 4 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3829, allocations: 0 / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3829, allocations: 0 / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3835, allocations: 413.5 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3835, allocations: 480 / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.3836, allocations: 7.984 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3836, allocations: 0 / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3836, allocations: 4 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3836, allocations: 3.938 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3836, allocations: 3.938 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.384, allocations: 263.3 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.384, allocations: 7.953 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.384, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3842, allocations: 19.92 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3842, allocations: 7.984 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3842, allocations: 0 / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001/0.3843, allocations: 99.27 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3843, allocations: 0 / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003374/0.3847, allocations: 43.92 kB / 1.29 GB, free: 3.91 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.001062/0.3857, allocations: 0.8621 MB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.386, allocations: 91.77 kB / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.386, allocations: 0 / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3861, allocations: 43.97 kB / 1.291 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3864, allocations: 19.42 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3884, allocations: 1.606 MB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.297e-05/0.3885, allocations: 83.17 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.3885, allocations: 12.66 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.3886, allocations: 23.44 kB / 1.293 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3886, allocations: 0 / 1.293 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.414, allocations: 3.283 MB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.18, allocations: 4.062 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.020912152947858] Failed to read output from testmodel.py, exit status != 0: 12.941930138040334 12.383418701 12.000896247 Calling exit ...