Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001847/0.001847, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002395/0.002395, allocations: 215.6 kB / 22.25 MB, free: 5.078 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.661/1.661, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.384/3.384, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_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.002108/0.002108, allocations: 67.56 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4086, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002419/0.411, allocations: 0.7034 MB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4126, allocations: 0.8861 MB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.4127, allocations: 11.94 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.4127, allocations: 7.875 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.4129, allocations: 3.938 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.4132, allocations: 27.89 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.4134, allocations: 59.8 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.4135, allocations: 15.98 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.4138, allocations: 31.86 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.4139, allocations: 31.84 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4139, allocations: 4 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.414, allocations: 11.98 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.414, allocations: 12 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.4141, allocations: 31.8 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.4143, allocations: 75.98 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4143, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4143, allocations: 7.938 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4143, allocations: 0 / 1.355 GB, free: 6.559 MB / 1.045 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.0007206/0.4151, allocations: 286.1 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.4151, allocations: 12.03 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.4152, allocations: 34.73 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.4154, allocations: 16.89 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.4158, allocations: 142.3 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4158, allocations: 8.375 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4158, allocations: 384 / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.416, allocations: 62.22 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.416, allocations: 3.938 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.416, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.416, allocations: 0 / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.4162, allocations: 35.97 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.4168, allocations: 271.8 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.4171, allocations: 62.62 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/0.4171, allocations: 24.91 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4172, allocations: 0 / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4172, allocations: 34.56 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4172, allocations: 0 / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003011/0.4175, allocations: 81.55 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4176, allocations: 51.41 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4177, allocations: 121.8 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4177, allocations: 29.7 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.4178, allocations: 100 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.4178, allocations: 3.953 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.4178, allocations: 17.72 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.418, allocations: 322.8 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.4181, allocations: 19.88 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.4181, allocations: 33.7 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.18e-05/0.4182, allocations: 32.78 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4182, allocations: 0 / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001488/0.4184, allocations: 65.67 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4184, allocations: 4 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4184, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4184, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.4185, allocations: 11.98 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4185, allocations: 0 / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.4185, allocations: 11.98 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4185, allocations: 0 / 1.357 GB, free: 4.492 MB / 1.045 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.000116/0.4186, allocations: 125.7 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.4187, allocations: 4 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.4187, allocations: 11.94 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4187, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4187, allocations: 4 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4187, allocations: 336 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.4189, allocations: 148.7 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4189, allocations: 0 / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.419, allocations: 4 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.419, allocations: 7.984 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.419, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.419, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.419, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.4192, allocations: 159.4 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.4192, allocations: 11.94 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4192, allocations: 8 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.4193, allocations: 4 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.4193, allocations: 3.984 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.4193, allocations: 4 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.4194, allocations: 99.2 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4194, allocations: 0 / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002238/0.4196, allocations: 11.94 kB / 1.357 GB, free: 3.824 MB / 1.045 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.0005315/0.4202, allocations: 0.6929 MB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.4203, allocations: 31.92 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4203, allocations: 0 / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.4204, allocations: 19.98 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4207, allocations: 17.95 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.4223, allocations: 1.332 MB / 1.359 GB, free: 1.629 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4226, allocations: 0.6846 MB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.4227, allocations: 4 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.4227, allocations: 27.42 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.4227, allocations: 0 / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.4534, allocations: 1.875 MB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.53, allocations: 15.91 kB / 1.362 GB, free: 15.13 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.808669484918937]