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.002649/0.002649, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002578/0.002578, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.049/3.049, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.391e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.003338/0.003372, allocations: 0.703 MB / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.005407, allocations: 0.879 MB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.005478, allocations: 1 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.005519, allocations: 11.88 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.00565, allocations: 8.766 kB / 0.8123 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.005936, allocations: 27.91 kB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.006101, allocations: 64.66 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.006227, allocations: 11.94 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.006448, allocations: 44.67 kB / 0.8125 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.006539, allocations: 19.91 kB / 0.8125 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.006569, allocations: 9.688 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.006636, allocations: 8 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.006659, allocations: 8 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.006709, allocations: 23.91 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.006922, allocations: 77.23 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006924, allocations: 0 / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006925, allocations: 0 / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.00693, allocations: 0 / 0.8126 GB, free: 316 kB / 0.7605 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.0007923/0.007722, allocations: 401.8 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.007775, allocations: 8.031 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.007999, allocations: 16.89 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.008362, allocations: 136.4 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.008387, allocations: 5.156 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.008409, allocations: 8.375 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.008636, allocations: 58.92 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008648, allocations: 192 / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.008662, allocations: 1.969 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.008668, allocations: 384 / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.008828, allocations: 31.92 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.009486, allocations: 290.3 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.009867, allocations: 78.94 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.009936, allocations: 19.75 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.009957, allocations: 0 / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.01, allocations: 37.86 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.01, allocations: 0 / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003325/0.01033, allocations: 74.42 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.01039, allocations: 51.94 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.01059, allocations: 189.9 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.01063, allocations: 31.34 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.01075, allocations: 146.9 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.01077, allocations: 7.953 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.01084, allocations: 27.36 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003162/0.01116, allocations: 0.489 MB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.01123, allocations: 16.58 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.01135, allocations: 57.08 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.01146, allocations: 32.45 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01147, allocations: 1.156 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002/0.01167, allocations: 69.52 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01168, allocations: 4 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01169, allocations: 1.375 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.0117, allocations: 4 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.01176, allocations: 7.984 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.01177, allocations: 0.6875 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.01183, allocations: 7.938 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01184, allocations: 1.062 kB / 0.8148 GB, free: 13.82 MB / 0.7761 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.0001523/0.01199, allocations: 160.6 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.01204, allocations: 16.97 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.01207, allocations: 8 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01207, allocations: 0 / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01208, allocations: 4.844 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01208, allocations: 4 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.01232, allocations: 134.8 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01233, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.01238, allocations: 7.984 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01238, allocations: 0 / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01239, allocations: 3.938 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0124, allocations: 3.938 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0124, allocations: 2.781 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.01268, allocations: 204.2 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.0127, allocations: 15.92 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01272, allocations: 3.938 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01283, allocations: 4 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.01289, allocations: 7.984 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.0129, allocations: 7.984 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001253/0.01303, allocations: 136.8 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01303, allocations: 0 / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003512/0.01338, allocations: 8 kB / 0.8155 GB, free: 13.05 MB / 0.7761 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.0001381/0.01352, allocations: 99.83 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.01372, allocations: 44.17 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01372, allocations: 0.5312 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.0138, allocations: 24.23 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.01419, allocations: 5.375 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.01461, allocations: 162.1 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.01471, allocations: 72.16 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.01475, allocations: 9.359 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.0148, allocations: 20.22 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.0148, allocations: 0 / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of Templates: time 0.003762/0.01856, allocations: 0.7617 MB / 0.8167 GB, free: 11.83 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] 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: 8.184344386914745]