Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001803/0.001803, allocations: 114.5 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.00174/0.00174, allocations: 217 kB / 22.25 MB, free: 5.082 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 8.016 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.431/3.431, allocations: 0.4899 GB / 0.7951 GB, free: 33.35 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: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [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.002105/0.002105, allocations: 60.44 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00246/0.3958, allocations: 0.7158 MB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.3971, allocations: 0.89 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.3972, allocations: 7.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3972, allocations: 3.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3973, allocations: 19.86 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3976, allocations: 19.92 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3977, allocations: 59.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3978, allocations: 15.97 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.398, allocations: 27.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3981, allocations: 27.86 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3982, allocations: 8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.3982, allocations: 8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.3982, allocations: 19.91 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.3983, allocations: 27.81 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3985, allocations: 75.64 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.3985, allocations: 4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3985, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.3985, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 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.0005834/0.3991, allocations: 290.2 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3991, allocations: 12.03 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.3993, allocations: 16.88 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.3996, allocations: 138.4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3996, allocations: 384 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3996, allocations: 4.375 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3998, allocations: 62.17 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3998, allocations: 192 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3998, allocations: 7.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3998, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3999, allocations: 23.98 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.4004, allocations: 271.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.4008, allocations: 70.47 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.4008, allocations: 21 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4008, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4009, allocations: 34.56 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4009, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002947/0.4012, allocations: 73.62 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4012, allocations: 55.34 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4013, allocations: 117.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.4014, allocations: 33.69 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.4014, allocations: 92.14 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.4015, allocations: 23.84 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4015, allocations: 17.7 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4017, allocations: 318.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.4017, allocations: 15.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.4018, allocations: 33.88 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.4019, allocations: 28.84 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4019, allocations: 4.031 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.402, allocations: 65.62 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.402, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.402, allocations: 0 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4021, allocations: 3.984 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.4021, allocations: 4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4021, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.4022, allocations: 11.98 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4022, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 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.4023, allocations: 121.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.4023, allocations: 7.953 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.4024, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4024, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4024, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4024, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.4026, allocations: 148.7 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4026, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.4026, allocations: 7.984 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4026, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4026, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4026, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4026, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.4028, allocations: 163.4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.4028, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.4029, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.4029, allocations: 11.98 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.403, allocations: 7.984 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.403, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.4031, allocations: 103.2 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4031, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002271/0.4033, allocations: 15.89 kB / 1.331 GB, free: 12.88 MB / 1.029 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.0001084/0.4034, allocations: 95.23 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.4036, allocations: 39.92 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4036, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.656e-05/0.4036, allocations: 19.98 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.404, allocations: 7.938 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.4043, allocations: 156.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4047, allocations: 0.6924 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.4048, allocations: 4.359 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.4048, allocations: 11.44 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4048, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Templates: time 0.00376/0.4086, allocations: 0.7331 MB / 1.332 GB, free: 11.07 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.731705479789525]