Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.001945/0.001945, allocations: 110.4 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.001935/0.001935, allocations: 218.4 kB / 22.25 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.984 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.943/2.943, allocations: 476.7 MB / 0.7707 GB, free: 4.234 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_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.00206/0.00206, allocations: 66.8 kB / 1.117 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 170 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002273/0.3758, allocations: 0.7049 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3771, allocations: 0.89 MB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.3772, allocations: 11.88 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.3772, allocations: 3.938 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.3773, allocations: 3.938 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.3775, allocations: 31.92 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3776, allocations: 55.84 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3778, allocations: 19.97 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3779, allocations: 35.8 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.378, allocations: 23.92 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3781, allocations: 4 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.3781, allocations: 12 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.3781, allocations: 19.91 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3782, allocations: 23.88 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3784, allocations: 75.22 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3784, allocations: 0 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3784, allocations: 0 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3784, allocations: 0 / 1.285 GB, free: 9.641 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.0005845/0.379, allocations: 292.2 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.379, allocations: 8.031 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3791, allocations: 38.75 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.3792, allocations: 20.88 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.3795, allocations: 138.3 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3795, allocations: 384 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3795, allocations: 4.375 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.3797, allocations: 54.23 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3797, allocations: 3.938 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3797, allocations: 7.984 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3797, allocations: 8 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3798, allocations: 23.98 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.3803, allocations: 271.8 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.3806, allocations: 70.53 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.3806, allocations: 17 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3807, allocations: 4 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3807, allocations: 34.5 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3807, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002694/0.381, allocations: 69.62 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.381, allocations: 59.34 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3811, allocations: 125.8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3811, allocations: 25.7 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3812, allocations: 96.14 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3812, allocations: 7.953 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3813, allocations: 21.7 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3815, allocations: 318.8 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.3815, allocations: 19.92 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.3816, allocations: 29.7 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.3817, allocations: 36.78 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3817, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001673/0.3818, allocations: 61.64 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3819, allocations: 14.17 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3819, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3819, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.3819, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.382, allocations: 4.031 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.382, allocations: 11.98 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.382, allocations: 0 / 1.287 GB, free: 7.578 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 (shaT.hys.y,$PRE.shaT.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.0001148/0.3821, allocations: 121.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3822, allocations: 3.953 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3822, allocations: 12 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3822, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.3822, allocations: 7.984 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3822, allocations: 4 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3824, allocations: 144.7 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3824, allocations: 0 / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3825, allocations: 7.984 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3825, allocations: 336 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3825, allocations: 4 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3825, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3825, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.3827, allocations: 171.3 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.3827, allocations: 4 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3827, allocations: 0 / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.3828, allocations: 7.984 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3828, allocations: 11.92 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3828, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.3829, allocations: 99.27 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3829, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002269/0.3831, allocations: 7.953 kB / 1.288 GB, free: 6.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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0005654/0.3837, allocations: 0.689 MB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3839, allocations: 35.91 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3839, allocations: 0 / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.3839, allocations: 16 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3843, allocations: 19.86 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.001681/0.386, allocations: 1.335 MB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3864, allocations: 0.6807 MB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.293e-05/0.3864, allocations: 11.98 kB / 1.29 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.3865, allocations: 15.44 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/0.3865, allocations: 3.938 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.4168, allocations: 1.878 MB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.67, allocations: 6.938 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_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.781580389942974]