Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002185/0.002185, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003418/0.003418, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.785 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.365/3.365, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [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.002341/0.002341, allocations: 62.97 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4902, allocations: 176.1 MB / 1.325 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00256/0.4927, allocations: 0.6924 MB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.4941, allocations: 0.8783 MB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.4941, allocations: 0 / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.4942, allocations: 3.938 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4943, allocations: 11.86 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.4945, allocations: 15.98 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.4947, allocations: 67.72 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.4948, allocations: 23.97 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.495, allocations: 23.92 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.4951, allocations: 27.86 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.4951, allocations: 8 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.142e-05/0.4951, allocations: 8 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.4952, allocations: 15.97 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.4952, allocations: 15.88 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.4954, allocations: 79.61 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4954, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4954, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4954, allocations: 4 kB / 1.327 GB, free: 15.98 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.0005556/0.496, allocations: 290.2 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.496, allocations: 8.031 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.4962, allocations: 16.88 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4965, allocations: 138.3 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.4965, allocations: 12.38 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4965, allocations: 384 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.4967, allocations: 58.23 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4967, allocations: 4.188 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4967, allocations: 3.938 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4967, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4968, allocations: 31.92 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.4973, allocations: 232.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.4976, allocations: 74.41 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.4976, allocations: 25 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4976, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4977, allocations: 30.56 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4977, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002748/0.4979, allocations: 69.62 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.498, allocations: 55.41 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.4981, allocations: 125.8 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4981, allocations: 29.7 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.4982, allocations: 92.08 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.4982, allocations: 7.891 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.4983, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4984, allocations: 318.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.4985, allocations: 15.98 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4986, allocations: 55.58 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.4987, allocations: 28.84 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4987, allocations: 3.938 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001505/0.4988, allocations: 65.64 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4989, allocations: 7.984 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4989, allocations: 8.031 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4989, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.4989, allocations: 7.938 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4989, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.499, allocations: 7.984 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.499, allocations: 4 kB / 1.329 GB, free: 13.98 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 (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.0001177/0.4991, allocations: 117.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.4992, allocations: 7.891 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.4992, allocations: 12 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4992, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4992, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4992, allocations: 3.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4994, allocations: 117.3 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4994, allocations: 0 / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.4994, allocations: 8 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4994, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4995, allocations: 3.984 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4995, allocations: 3.984 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4995, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.4997, allocations: 171.4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.4997, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.4997, allocations: 7.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.4998, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.4999, allocations: 11.97 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.4999, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.958e-05/0.4999, allocations: 95.27 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4999, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000247/0.5002, allocations: 7.953 kB / 1.33 GB, free: 13.34 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 (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.000153/0.5003, allocations: 103.2 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5005, allocations: 31.98 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5005, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.5006, allocations: 19.92 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.5009, allocations: 13.97 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.5013, allocations: 156.2 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.624e-05/0.5014, allocations: 75.33 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.566e-05/0.5015, allocations: 8.359 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.5015, allocations: 7.438 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.5015, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Templates: time 0.004153/0.5057, allocations: 0.7763 MB / 1.331 GB, free: 12.11 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.865905456244946]