Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001589/0.001589, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00278/0.00278, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.973 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.951/2.951, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",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.001972/0.001972, allocations: 64.44 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3751, allocations: 169.9 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002359/0.3775, allocations: 0.7129 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3788, allocations: 0.8899 MB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.3788, allocations: 4 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.3789, allocations: 3.938 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.379, allocations: 11.92 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3792, allocations: 23.92 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3794, allocations: 59.84 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3795, allocations: 15.98 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3797, allocations: 35.8 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3798, allocations: 27.91 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3798, allocations: 4 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.3799, allocations: 12 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.3799, allocations: 11.92 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.3799, allocations: 31.86 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3801, allocations: 75.22 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3801, allocations: 0 / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3801, allocations: 0 / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.3802, allocations: 0 / 1.285 GB, free: 9.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000633/0.3808, allocations: 290.2 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.3808, allocations: 8.031 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.3809, allocations: 34.75 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.3811, allocations: 20.88 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.3814, allocations: 138.3 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3814, allocations: 4.375 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3815, allocations: 4.375 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3816, allocations: 54.23 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3817, allocations: 3.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3817, allocations: 7.938 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.3817, allocations: 8 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3818, allocations: 27.98 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.3824, allocations: 271.8 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3827, allocations: 70.53 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.3828, allocations: 12.92 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.3828, allocations: 8.062 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.3829, allocations: 38.58 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.3829, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003281/0.3832, allocations: 73.56 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3833, allocations: 51.41 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3834, allocations: 125.8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.3835, allocations: 29.7 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.3836, allocations: 96.06 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.3836, allocations: 3.953 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.3836, allocations: 17.72 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3838, allocations: 326.8 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.3839, allocations: 15.98 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.384, allocations: 25.72 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3841, allocations: 45.03 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3841, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000155/0.3842, allocations: 61.64 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.3842, allocations: 8 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3843, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3843, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.3843, allocations: 7.984 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.3843, allocations: 8.016 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.3844, allocations: 11.98 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3844, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 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 0.0001046/0.3845, allocations: 121.7 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3845, allocations: 3.953 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3846, allocations: 12 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3846, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3846, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3846, allocations: 4 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3848, allocations: 148.7 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3848, allocations: 0 / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.3848, allocations: 4 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3848, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3848, allocations: 3.984 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3848, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3848, allocations: 3.938 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.385, allocations: 167.4 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.3851, allocations: 4 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3851, allocations: 4 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.3851, allocations: 8 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.3852, allocations: 11.92 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3852, allocations: 3.984 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.282e-05/0.3853, allocations: 99.27 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3853, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000223/0.3855, allocations: 7.953 kB / 1.288 GB, free: 6.902 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: 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.0004755/0.386, allocations: 0.6851 MB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3861, allocations: 35.92 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3861, allocations: 0 / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.3862, allocations: 19.98 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3865, allocations: 14.44 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3882, allocations: 1.336 MB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.3886, allocations: 0.6807 MB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.694e-05/0.3887, allocations: 15.92 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.3887, allocations: 19.44 kB / 1.29 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3887, allocations: 0 / 1.29 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4177, allocations: 1.873 MB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 9.234 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.512008622055873]