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.001859/0.001859, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002621/0.002621, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.503/1.503, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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 2.924/2.924, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002136/0.002136, allocations: 59.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9471, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00168/0.9487, allocations: 0.6881 MB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.9495, allocations: 0.8731 MB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.9496, allocations: 2.906 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.9496, allocations: 3.938 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.9497, allocations: 11.86 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.9499, allocations: 36.11 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.917e-05/0.95, allocations: 56.7 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.9501, allocations: 16.64 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.9502, allocations: 34.92 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.9503, allocations: 31.3 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.9503, allocations: 5.75 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.781e-05/0.9503, allocations: 9.25 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.9503, allocations: 10.53 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.9504, allocations: 28.44 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.9505, allocations: 66.92 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.9505, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9505, allocations: 2.688 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.9505, allocations: 0 / 1.156 GB, free: 32.07 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.0003957/0.9509, allocations: 293.5 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.9509, allocations: 13.69 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.9511, allocations: 16.19 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.9513, allocations: 137.5 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.9513, allocations: 3.031 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.9513, allocations: 7.125 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.9515, allocations: 58.31 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.9515, allocations: 192 / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9515, allocations: 3.938 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9515, allocations: 6.656 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.9516, allocations: 30.41 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.9519, allocations: 233 kB / 1.156 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.9522, allocations: 77.14 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.9522, allocations: 20.7 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.9522, allocations: 0 / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.111e-05/0.9522, allocations: 38.56 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.9522, allocations: 2.562 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002332/0.9525, allocations: 72.17 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.9525, allocations: 55.34 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.9526, allocations: 126.1 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.9526, allocations: 25.7 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.9526, allocations: 90.86 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.9526, allocations: 10.11 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.9527, allocations: 16.5 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.9527, allocations: 316.8 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.9528, allocations: 16.09 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-05/0.9528, allocations: 57.48 kB / 1.157 GB, free: 30.51 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.9529, allocations: 28.48 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9529, allocations: 3.938 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001198/0.953, allocations: 70.8 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.953, allocations: 5.219 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.953, allocations: 0 / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.9531, allocations: 3.938 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.9531, allocations: 9.125 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.9531, allocations: 3.328 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.9532, allocations: 5.125 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.9532, allocations: 2.625 kB / 1.157 GB, free: 30.44 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 (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 5.932e-05/0.9532, allocations: 120.5 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.9533, allocations: 6.781 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.9533, allocations: 10.5 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9533, allocations: 3.984 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.9533, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.9533, allocations: 6.594 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.9534, allocations: 123.8 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.9534, allocations: 3.938 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.9534, allocations: 5.125 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9534, allocations: 3.375 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9534, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9534, allocations: 2.594 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9534, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.9536, allocations: 163.1 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.9536, allocations: 3.938 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.9536, allocations: 9.938 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.9537, allocations: 6.562 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.9537, allocations: 6.156 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.9537, allocations: 9.812 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.9538, allocations: 93.2 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9538, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002293/0.954, allocations: 14.11 kB / 1.158 GB, free: 29.9 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 (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 6.17e-05/0.9541, allocations: 93.81 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.9542, allocations: 42.7 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9542, allocations: 0 / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.928e-05/0.9543, allocations: 16.53 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.9545, allocations: 6.875 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.9548, allocations: 153.9 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.125e-05/0.9549, allocations: 73.61 kB / 1.158 GB, free: 29.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.9549, allocations: 6.812 kB / 1.158 GB, free: 29.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.9549, allocations: 22.95 kB / 1.158 GB, free: 29.57 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.9549, allocations: 0 / 1.158 GB, free: 29.57 MB / 1.076 GB Notification: Performance of Templates: time 0.003006/0.9579, allocations: 0.7285 MB / 1.159 GB, free: 29.48 MB / 1.076 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 -s ida -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/jenkins1/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.157391041982919]