Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002083/0.002084, allocations: 106.5 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.073/3.073, allocations: 489.3 MB / 0.7687 GB, free: 3.953 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002198, allocations: 71.89 kB / 1.103 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.093, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002177/1.096, allocations: 0.7139 MB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001127/1.097, allocations: 0.8381 MB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/1.097, allocations: 0.7188 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/1.097, allocations: 5.312 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/1.097, allocations: 11.09 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/1.097, allocations: 26.53 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/1.097, allocations: 56.72 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/1.097, allocations: 23.61 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/1.098, allocations: 29.11 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/1.098, allocations: 24.5 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/1.098, allocations: 5 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/1.098, allocations: 5.812 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/1.098, allocations: 15.89 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/1.098, allocations: 23.81 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/1.098, allocations: 75.98 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.098, allocations: 0 / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.098, allocations: 0.8438 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.17e-06/1.098, allocations: 0 / 1.264 GB, free: 6.773 MB / 0.9981 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.0004641/1.098, allocations: 368.4 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.099, allocations: 8.938 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/1.099, allocations: 8.734 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/1.099, allocations: 192.3 kB / 1.265 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.099, allocations: 14 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/1.099, allocations: 2.844 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/1.099, allocations: 55.53 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.099, allocations: 192 / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.099, allocations: 5.531 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.099, allocations: 0.7188 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/1.099, allocations: 33.28 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/1.1, allocations: 304.8 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/1.1, allocations: 71.55 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/1.1, allocations: 19.06 kB / 1.265 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/1.1, allocations: 0.875 kB / 1.265 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/1.1, allocations: 36 kB / 1.265 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.1, allocations: 0 / 1.265 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002708/1.1, allocations: 66.8 kB / 1.265 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/1.1, allocations: 52.16 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/1.1, allocations: 127.5 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.101, allocations: 27.78 kB / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/1.101, allocations: 96.98 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/1.101, allocations: 17.23 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/1.101, allocations: 16.05 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/1.101, allocations: 322.1 kB / 1.266 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/1.101, allocations: 14.92 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/1.101, allocations: 26.41 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/1.101, allocations: 31.59 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.101, allocations: 4.031 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/1.101, allocations: 65.45 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.101, allocations: 8.344 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/1.101, allocations: 0 / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.101, allocations: 0.9375 kB / 1.266 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/1.101, allocations: 10.95 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.101, allocations: 0 / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/1.101, allocations: 9.375 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/1.101, allocations: 0.625 kB / 1.266 GB, free: 4.945 MB / 0.9981 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 6.857e-05/1.101, allocations: 121.9 kB / 1.266 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/1.101, allocations: 11.39 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/1.101, allocations: 10.27 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.101, allocations: 0.9062 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.101, allocations: 0.9688 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.101, allocations: 0.7969 kB / 1.266 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/1.102, allocations: 173.1 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.102, allocations: 1.859 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/1.102, allocations: 5.375 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.102, allocations: 8.656 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/1.102, allocations: 1.375 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.102, allocations: 0 / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.102, allocations: 0.7812 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/1.102, allocations: 159 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/1.102, allocations: 87.31 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/1.102, allocations: 9.438 kB / 1.267 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/1.102, allocations: 10.11 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/1.102, allocations: 7.25 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/1.102, allocations: 0.7188 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.82e-05/1.102, allocations: 97.17 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.102, allocations: 0.75 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002218/1.102, allocations: 7.188 kB / 1.267 GB, free: 4.25 MB / 0.9981 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 9.582e-05/1.103, allocations: 96.56 kB / 1.267 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001765/1.103, allocations: 37.16 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.103, allocations: 3.938 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/1.103, allocations: 17.2 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.103, allocations: 12.09 kB / 1.267 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/1.104, allocations: 187.5 kB / 1.267 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/1.104, allocations: 0.6889 MB / 1.268 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/1.104, allocations: 11.86 kB / 1.268 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/1.104, allocations: 0 / 1.268 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of Templates: time 0.002963/1.107, allocations: 0.8493 MB / 1.269 GB, free: 3.191 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.475293732015416]