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.001305/0.001305, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001391/0.001391, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.7 MB / 0.7678 GB, free: 9.359 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.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.002845/0.002845, allocations: 59.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003497/1.036, allocations: 1.542 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001776/1.038, allocations: 0.8249 MB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/1.038, allocations: 3.938 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/1.038, allocations: 6.359 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/1.038, allocations: 10.41 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/1.039, allocations: 145.6 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001994/1.039, allocations: 98.09 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/1.039, allocations: 16.19 kB / 1.281 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/1.039, allocations: 47.03 kB / 1.282 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/1.039, allocations: 43.11 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/1.039, allocations: 7.375 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/1.039, allocations: 120.1 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/1.039, allocations: 20.44 kB / 1.282 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/1.039, allocations: 37.17 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/1.04, allocations: 172.2 kB / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.04, allocations: 0 / 1.282 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.04, allocations: 4.531 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.04, allocations: 0 / 1.282 GB, free: 9.785 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.0007783/1.041, allocations: 465.4 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.041, allocations: 9.719 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.515e-05/1.041, allocations: 1.719 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/1.041, allocations: 34.38 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000335/1.041, allocations: 30.75 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/1.041, allocations: 195.3 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.041, allocations: 4.438 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/1.041, allocations: 9.5 kB / 1.283 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/1.042, allocations: 89.03 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.042, allocations: 0 / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.042, allocations: 1.516 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.042, allocations: 1.844 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/1.042, allocations: 44.05 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/1.043, allocations: 336.4 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/1.043, allocations: 57.72 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/1.043, allocations: 39.06 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/1.043, allocations: 2.141 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/1.043, allocations: 99.36 kB / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/1.043, allocations: 0 / 1.283 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005526/1.044, allocations: 188.4 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/1.044, allocations: 59.19 kB / 1.284 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/1.044, allocations: 130.4 kB / 1.284 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/1.044, allocations: 35.17 kB / 1.284 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/1.044, allocations: 94.59 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/1.044, allocations: 19.66 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/1.044, allocations: 31.25 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.044, allocations: 325.1 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/1.044, allocations: 28.78 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/1.044, allocations: 73.64 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/1.045, allocations: 115.4 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.045, allocations: 1.25 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002763/1.045, allocations: 134 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.045, allocations: 4.938 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.045, allocations: 2.156 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.045, allocations: 6.906 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.045, allocations: 23.22 kB / 1.284 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.045, allocations: 6.672 kB / 1.285 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/1.045, allocations: 6.672 kB / 1.285 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/1.045, allocations: 4.5 kB / 1.285 GB, free: 7.566 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.0001182/1.045, allocations: 134.2 kB / 1.285 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/1.045, allocations: 8.25 kB / 1.285 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/1.045, allocations: 12.03 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.045, allocations: 1.312 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.045, allocations: 4 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.045, allocations: 0.7031 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/1.046, allocations: 434.6 kB / 1.285 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.046, allocations: 5.078 kB / 1.285 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/1.046, allocations: 5.672 kB / 1.285 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.046, allocations: 1.438 kB / 1.285 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.046, allocations: 6.016 kB / 1.285 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.046, allocations: 6.078 kB / 1.285 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.046, allocations: 3.938 kB / 1.285 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/1.046, allocations: 249.3 kB / 1.285 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/1.046, allocations: 83.69 kB / 1.285 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/1.046, allocations: 6.016 kB / 1.285 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/1.047, allocations: 8.656 kB / 1.285 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/1.047, allocations: 6.922 kB / 1.285 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.047, allocations: 4.078 kB / 1.285 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.443e-05/1.047, allocations: 105.5 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.047, allocations: 1.312 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003652/1.047, allocations: 45.16 kB / 1.286 GB, free: 6.668 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.001064/1.048, allocations: 0.8396 MB / 1.286 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002932/1.048, allocations: 94.69 kB / 1.287 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.048, allocations: 0 / 1.287 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/1.049, allocations: 45.78 kB / 1.287 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/1.049, allocations: 18.66 kB / 1.287 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/1.051, allocations: 1.618 MB / 1.288 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/1.051, allocations: 0.7002 MB / 1.289 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.473e-05/1.051, allocations: 5.25 kB / 1.289 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/1.051, allocations: 22.34 kB / 1.289 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.051, allocations: 1.062 kB / 1.289 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/1.073, allocations: 3.087 MB / 1.292 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.591, allocations: 6.859 kB / 1.292 GB, free: 3.223 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.991107203997672] Failed to read output from testmodel.py, exit status != 0: 9.719497787009459 9.742181113 8.699037369 Calling exit ...