Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.9 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 489.7 MB / 0.7761 GB, free: 33.57 MB / 0.6231 GB [Timeout remaining time 87] 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.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 68.62 kB / 1.127 GB, free: 36.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001598/0.2935, allocations: 0.55 MB / 1.295 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.019e-05/0.2935, allocations: 0 / 1.295 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.2936, allocations: 8 kB / 1.295 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2936, allocations: 0 / 1.295 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.35e-05/0.2936, allocations: 0 / 1.295 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.449e-05/0.2936, allocations: 0 / 1.295 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.2937, allocations: 7.938 kB / 1.295 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.2937, allocations: 4 kB / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.2937, allocations: 3.938 kB / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.475e-05/0.2937, allocations: 0 / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.2938, allocations: 0 / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.2938, allocations: 0 / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.2938, allocations: 0 / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.2938, allocations: 0 / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.099e-05/0.2938, allocations: 11.98 kB / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2938, allocations: 0 / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2938, allocations: 0 / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2938, allocations: 0 / 1.295 GB, free: 11.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003062/0.2941, allocations: 315.5 kB / 1.296 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2942, allocations: 8.031 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.2942, allocations: 0.9375 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2943, allocations: 172.3 kB / 1.296 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.2943, allocations: 384 / 1.296 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.2943, allocations: 8.375 kB / 1.296 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.2944, allocations: 26.27 kB / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2944, allocations: 192 / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2944, allocations: 3.938 kB / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2944, allocations: 0 / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.2945, allocations: 7.938 kB / 1.296 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2948, allocations: 379.5 kB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.2949, allocations: 177.1 kB / 1.296 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.2949, allocations: 90.56 kB / 1.297 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.2949, allocations: 75.28 kB / 1.297 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.295, allocations: 109.8 kB / 1.297 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.295, allocations: 0 / 1.297 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.456e-05/0.2951, allocations: 29.7 kB / 1.297 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.2951, allocations: 134.7 kB / 1.297 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.2952, allocations: 93.86 kB / 1.297 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2952, allocations: 25.7 kB / 1.297 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.2953, allocations: 84.14 kB / 1.297 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.2953, allocations: 0 / 1.297 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.2953, allocations: 10.16 kB / 1.297 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2954, allocations: 315 kB / 1.297 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.2954, allocations: 0 / 1.297 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.2954, allocations: 0 / 1.297 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.2955, allocations: 83.22 kB / 1.297 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/0.2955, allocations: 79.28 kB / 1.298 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.591e-05/0.2955, allocations: 37.62 kB / 1.298 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.2956, allocations: 83.28 kB / 1.298 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.2956, allocations: 75.28 kB / 1.298 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.05e-05/0.2957, allocations: 162.5 kB / 1.298 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.927e-05/0.2957, allocations: 75.28 kB / 1.298 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.183e-05/0.2958, allocations: 154.5 kB / 1.298 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.2958, allocations: 79.28 kB / 1.298 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.2959, allocations: 75.28 kB / 1.298 GB, free: 8.027 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001226/0.296, allocations: 268.9 kB / 1.299 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.2961, allocations: 112.9 kB / 1.299 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.2961, allocations: 108 kB / 1.299 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.157e-05/0.2962, allocations: 180.2 kB / 1.299 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-05/0.2963, allocations: 176.3 kB / 1.299 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.175e-05/0.2963, allocations: 184.2 kB / 1.299 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.2966, allocations: 409.1 kB / 1.3 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/0.2966, allocations: 101 kB / 1.3 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.2967, allocations: 112.9 kB / 1.3 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/0.2967, allocations: 180.2 kB / 1.3 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.2968, allocations: 180.3 kB / 1.3 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.923e-05/0.2969, allocations: 184.5 kB / 1.3 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.329e-05/0.2969, allocations: 184.3 kB / 1.301 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.2971, allocations: 311.7 kB / 1.301 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.2972, allocations: 182 kB / 1.301 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.2972, allocations: 180.3 kB / 1.301 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.2973, allocations: 109 kB / 1.301 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.2974, allocations: 184.2 kB / 1.301 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.2974, allocations: 104.9 kB / 1.302 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.2975, allocations: 75.28 kB / 1.302 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.2975, allocations: 0 / 1.302 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002531/0.2977, allocations: 4 kB / 1.302 GB, free: 4.352 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001319/0.2979, allocations: 174.6 kB / 1.302 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.2979, allocations: 11.92 kB / 1.302 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2979, allocations: 0 / 1.302 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.2979, allocations: 0 / 1.302 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2983, allocations: 462.4 kB / 1.302 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.2985, allocations: 181.9 kB / 1.302 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2988, allocations: 0.669 MB / 1.303 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.2988, allocations: 7.438 kB / 1.303 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2988, allocations: 0 / 1.303 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of Templates: time 0.001501/0.3003, allocations: 323.9 kB / 1.303 GB, free: 2.473 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches