Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001357/0.001357, allocations: 115.6 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.001588/0.001588, 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.584/1.584, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.002048/0.002048, allocations: 71.89 kB / 1.149 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 176.1 MB / 1.321 GB, free: 24.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002121/1.081, allocations: 0.7161 MB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000984/1.082, allocations: 0.8809 MB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/1.082, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/1.082, allocations: 10.12 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/1.082, allocations: 7.922 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/1.082, allocations: 35.78 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.898e-05/1.082, allocations: 57.3 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/1.083, allocations: 14.48 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/1.083, allocations: 33.36 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/1.083, allocations: 27.83 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/1.083, allocations: 6.25 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/1.083, allocations: 6.031 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/1.083, allocations: 22.16 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/1.083, allocations: 24.69 kB / 1.323 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/1.083, allocations: 68.77 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.083, allocations: 7.938 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.525e-06/1.083, allocations: 2.938 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.083, allocations: 0 / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004871/1.084, allocations: 373.7 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.084, allocations: 12.8 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/1.084, allocations: 3 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/1.084, allocations: 37.84 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/1.084, allocations: 12.83 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/1.084, allocations: 198.8 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/1.084, allocations: 384 / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.084, allocations: 3.312 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.084, allocations: 63.3 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.084, allocations: 0 / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.084, allocations: 4 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.084, allocations: 0 / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/1.084, allocations: 23.61 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/1.085, allocations: 305.4 kB / 1.324 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/1.085, allocations: 66.5 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/1.085, allocations: 20.27 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/1.085, allocations: 4 kB / 1.324 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.085, allocations: 33.16 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.085, allocations: 0 / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002615/1.085, allocations: 76.55 kB / 1.324 GB, free: 22.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/1.085, allocations: 51.41 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/1.085, allocations: 126.5 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.085, allocations: 28.64 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/1.085, allocations: 91.17 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/1.085, allocations: 19.11 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/1.086, allocations: 15.41 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/1.086, allocations: 322.2 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/1.086, allocations: 12.47 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/1.086, allocations: 28.59 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/1.086, allocations: 39.39 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.086, allocations: 0 / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/1.086, allocations: 68.11 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.086, allocations: 7.875 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.086, allocations: 0 / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.086, allocations: 0 / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/1.086, allocations: 2.938 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.086, allocations: 2.875 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/1.086, allocations: 13.22 kB / 1.325 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/1.086, allocations: 4 kB / 1.325 GB, free: 21.51 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaH.hys.y,$PRE.shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.324e-05/1.086, allocations: 124.5 kB / 1.325 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/1.086, allocations: 10.17 kB / 1.325 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/1.086, allocations: 10.84 kB / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.086, allocations: 0 / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.086, allocations: 0 / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.086, allocations: 0 / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/1.086, allocations: 175.2 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.086, allocations: 3.938 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/1.086, allocations: 10.56 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/1.086, allocations: 0 / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.086, allocations: 2.906 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.086, allocations: 0 / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.086, allocations: 0 / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/1.086, allocations: 158.1 kB / 1.326 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/1.087, allocations: 88.33 kB / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.087, allocations: 10.47 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/1.087, allocations: 2.219 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/1.087, allocations: 8.219 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/1.087, allocations: 3.375 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.949e-05/1.087, allocations: 97.72 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.087, allocations: 0 / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002387/1.087, allocations: 8.75 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002976/1.087, allocations: 0.6903 MB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001684/1.087, allocations: 30.39 kB / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.087, allocations: 0 / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/1.087, allocations: 19.12 kB / 1.327 GB, free: 20.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/1.088, allocations: 13.81 kB / 1.327 GB, free: 20.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.089, allocations: 1.332 MB / 1.328 GB, free: 18.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/1.089, allocations: 0.6804 MB / 1.329 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.817e-05/1.089, allocations: 17.06 kB / 1.329 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/1.089, allocations: 22.05 kB / 1.329 GB, free: 18.18 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/1.089, allocations: 4 kB / 1.329 GB, free: 18.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/1.108, allocations: 1.79 MB / 1.33 GB, free: 17.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.546, allocations: 9.219 kB / 1.33 GB, free: 17.75 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.417470555985346] Failed to read output from testmodel.py, exit status != 0: 9.678705188038293 9.694230413 8.608638127 Calling exit ...