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.001098/0.001098, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002637, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009616/0.0009616, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002251, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9275/0.9275, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09741/1.025, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.369/2.369, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2401/2.609, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8189 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.764e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00216/0.002187, allocations: 0.7482 MB / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003269, allocations: 0.9092 MB / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.003309, allocations: 0 / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.00334, allocations: 7.875 kB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.003401, allocations: 15.86 kB / 0.8205 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.003527, allocations: 23.91 kB / 0.8206 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.003635, allocations: 59.8 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003741, allocations: 23.91 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.003942, allocations: 55.84 kB / 0.8207 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.004011, allocations: 23.91 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.004029, allocations: 4 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.083e-05/0.00409, allocations: 8 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.00411, allocations: 7.938 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.004136, allocations: 12 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.004273, allocations: 39.78 kB / 0.8208 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.004287, allocations: 0 / 0.8208 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004288, allocations: 4 kB / 0.8208 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.004303, allocations: 0 / 0.8208 GB, free: 0.6016 MB / 0.7917 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.0004719/0.004775, allocations: 272.5 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.004814, allocations: 12.03 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.004996, allocations: 90.03 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.005159, allocations: 133.6 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.00518, allocations: 4.375 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.005197, allocations: 4.375 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.005328, allocations: 58.94 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005336, allocations: 192 / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005343, allocations: 4.375 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.00535, allocations: 8.312 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.005381, allocations: 7.938 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.00567, allocations: 172.2 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.005837, allocations: 50.53 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.005858, allocations: 12.86 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005871, allocations: 0 / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.005894, allocations: 30.56 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.005896, allocations: 0 / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001361/0.006032, allocations: 57.64 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.006062, allocations: 51.41 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.006146, allocations: 126.7 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.006171, allocations: 33.69 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.006218, allocations: 92.08 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.006237, allocations: 7.938 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.006275, allocations: 21.7 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.006365, allocations: 318.8 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.006386, allocations: 4 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.006423, allocations: 43.41 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.00646, allocations: 16.8 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006463, allocations: 4.031 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.09e-05/0.006534, allocations: 45.67 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.006548, allocations: 5.25 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.006554, allocations: 3.938 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.006567, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.006623, allocations: 8 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006626, allocations: 0 / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.006668, allocations: 11.94 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.006675, allocations: 4 kB / 0.8224 GB, free: 14.73 MB / 0.8073 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.968e-05/0.006745, allocations: 113.8 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.006772, allocations: 7.938 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.0068, allocations: 7.938 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.006804, allocations: 4 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.006808, allocations: 7.922 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.00681, allocations: 0 / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.006936, allocations: 73.89 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006937, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.006974, allocations: 7.984 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.006985, allocations: 4 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006987, allocations: 0 / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.006993, allocations: 4 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.006996, allocations: 3.938 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.006997, allocations: 0 / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.007101, allocations: 135.5 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.007117, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.007184, allocations: 8 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.007227, allocations: 15.86 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007231, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.772e-05/0.007259, allocations: 20.83 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007259, allocations: 0 / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001951/0.007454, allocations: 15.95 kB / 0.8228 GB, free: 14.26 MB / 0.8073 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 9.385e-05/0.007548, allocations: 80.42 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.007632, allocations: 25.2 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.007637, allocations: 0 / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.00767, allocations: 20.78 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.007879, allocations: 19.98 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.009379, allocations: 168.2 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.009419, allocations: 59.34 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.009462, allocations: 7.984 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.009528, allocations: 55.38 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.009528, allocations: 0 / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.00307/0.0126, allocations: 0.8158 MB / 0.824 GB, free: 12.96 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.071314980275929]