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.001361/0.001361, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001793/0.001793, allocations: 160 kB / 23.01 MB, free: 4.605 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.887/2.887, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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: 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_latest_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_latest_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.002397/0.002397, allocations: 63.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.09, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002414/1.092, allocations: 0.6949 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001152/1.093, allocations: 0.8855 MB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/1.093, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/1.093, allocations: 5.969 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/1.093, allocations: 10.47 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/1.094, allocations: 25.86 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.777e-05/1.094, allocations: 57.62 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/1.094, allocations: 22.31 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/1.094, allocations: 37.59 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/1.094, allocations: 20.11 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/1.094, allocations: 5.5 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/1.094, allocations: 11.56 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/1.094, allocations: 15.97 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/1.094, allocations: 15.98 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/1.094, allocations: 72.36 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.094, allocations: 0.5625 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/1.094, allocations: 0.8125 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.258e-06/1.094, allocations: 4 kB / 1.188 GB, free: 14.94 MB / 1.076 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.0004474/1.095, allocations: 291.8 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.095, allocations: 9.969 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/1.095, allocations: 16.25 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/1.095, allocations: 134.4 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/1.095, allocations: 6.531 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/1.095, allocations: 2.594 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/1.095, allocations: 60.42 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.095, allocations: 8.188 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.095, allocations: 3.938 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.095, allocations: 1.219 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/1.095, allocations: 29.64 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/1.096, allocations: 239.5 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/1.096, allocations: 74.25 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/1.096, allocations: 22.38 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/1.096, allocations: 2.141 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/1.096, allocations: 32.12 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/1.096, allocations: 0 / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002503/1.096, allocations: 70.94 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.096, allocations: 52.53 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/1.097, allocations: 124.1 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/1.097, allocations: 29.7 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/1.097, allocations: 93.59 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/1.097, allocations: 10.45 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/1.097, allocations: 19.36 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.397e-05/1.097, allocations: 319.7 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/1.097, allocations: 18.05 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/1.097, allocations: 53.22 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/1.097, allocations: 31.17 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.097, allocations: 4.688 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000132/1.097, allocations: 70.41 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.097, allocations: 7.812 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.097, allocations: 4 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.097, allocations: 4.547 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/1.097, allocations: 6.656 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.097, allocations: 0 / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/1.097, allocations: 8.828 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/1.097, allocations: 6.109 kB / 1.19 GB, free: 13.31 MB / 1.076 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 6.204e-05/1.097, allocations: 118.2 kB / 1.19 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/1.097, allocations: 6.391 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/1.097, allocations: 10.58 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.097, allocations: 5.406 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.097, allocations: 0.5625 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.097, allocations: 0 / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/1.097, allocations: 116.8 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.097, allocations: 0 / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/1.098, allocations: 5.906 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.098, allocations: 1.312 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/1.098, allocations: 4.797 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.098, allocations: 3.938 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.098, allocations: 2.219 kB / 1.19 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.098, allocations: 159.5 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/1.098, allocations: 9.891 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/1.098, allocations: 1.188 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/1.098, allocations: 9.781 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/1.098, allocations: 8.203 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/1.098, allocations: 1.891 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.097e-05/1.098, allocations: 95.86 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.098, allocations: 1.312 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002223/1.098, allocations: 6.312 kB / 1.191 GB, free: 12.79 MB / 1.076 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 7.501e-05/1.098, allocations: 98.19 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001645/1.098, allocations: 41.44 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.098, allocations: 0 / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.539e-05/1.098, allocations: 17.16 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/1.099, allocations: 11.48 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/1.099, allocations: 150.7 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/1.099, allocations: 88.77 kB / 1.191 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.99e-05/1.099, allocations: 4.625 kB / 1.191 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/1.099, allocations: 12.23 kB / 1.191 GB, free: 12.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.099, allocations: 1.219 kB / 1.191 GB, free: 12.45 MB / 1.076 GB Notification: Performance of Templates: time 0.003559/1.103, allocations: 0.7474 MB / 1.192 GB, free: 12.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 800] 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: 9.120395613019355]