Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.000833/0.000833, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001837, allocations: 435.8 kB / 10.33 MB, free: 368 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.000713/0.000713, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008689/0.001582, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09287/1.101, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.333/2.333, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2598/2.593, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.652e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001343/0.00136, allocations: 0.6453 MB / 0.819 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 1.666e-05/0.001377, allocations: 3.938 kB / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.001395, allocations: 0 / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.001412, allocations: 0 / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.075e-05/0.001423, allocations: 0 / 0.819 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.236e-05/0.001435, allocations: 8 kB / 0.819 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.00148, allocations: 0 / 0.819 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.001515, allocations: 0 / 0.819 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.001554, allocations: 8 kB / 0.819 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.001579, allocations: 7.922 kB / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.001596, allocations: 0 / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-06/0.0016, allocations: 0 / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.001608, allocations: 0 / 0.819 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.001625, allocations: 4 kB / 0.819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.054e-05/0.001675, allocations: 3.984 kB / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.001689, allocations: 0 / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00169, allocations: 4 kB / 0.819 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.001705, allocations: 0 / 0.819 GB, free: 2.168 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002375/0.001942, allocations: 208.7 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.001972, allocations: 12.62 kB / 0.8192 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.001994, allocations: 0.9375 kB / 0.8192 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.117e-05/0.002075, allocations: 113.7 kB / 0.8193 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.002084, allocations: 384 / 0.8193 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.002091, allocations: 4.359 kB / 0.8193 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.808e-05/0.002149, allocations: 26.27 kB / 0.8193 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.002155, allocations: 192 / 0.8193 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.00216, allocations: 4.375 kB / 0.8193 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.002166, allocations: 4.375 kB / 0.8193 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.037e-05/0.002176, allocations: 7.875 kB / 0.8194 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.002351, allocations: 290.8 kB / 0.8196 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.002416, allocations: 169.2 kB / 0.8198 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.002441, allocations: 88.12 kB / 0.8199 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.002463, allocations: 79.27 kB / 0.82 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.002499, allocations: 105.8 kB / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.002499, allocations: 0 / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.201e-05/0.002551, allocations: 33.64 kB / 0.8201 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.002601, allocations: 134.6 kB / 0.8202 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.002655, allocations: 94.72 kB / 0.8203 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.002664, allocations: 25.7 kB / 0.8203 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.002696, allocations: 88.14 kB / 0.8204 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.52e-07/0.002697, allocations: 0 / 0.8204 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.002717, allocations: 9.719 kB / 0.8204 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.002797, allocations: 314.8 kB / 0.8207 GB, free: 244 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-06/0.0028, allocations: 0 / 0.8207 GB, free: 244 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.002803, allocations: 4 kB / 0.8207 GB, free: 240 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.938e-05/0.002822, allocations: 75.28 kB / 0.8208 GB, free: 164 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/0.002842, allocations: 79.41 kB / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.403e-05/0.002886, allocations: 33.64 kB / 0.8209 GB, free: 44 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.002925, allocations: 85.47 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.002945, allocations: 75.28 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-05/0.002988, allocations: 150.6 kB / 0.8212 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.438e-05/0.003012, allocations: 87.16 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.73e-05/0.003049, allocations: 150.6 kB / 0.8214 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.00312, allocations: 83.2 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.003141, allocations: 79.45 kB / 0.8216 GB, free: 15.34 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: 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 8.377e-05/0.003225, allocations: 264.4 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.003298, allocations: 113 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.003333, allocations: 107.9 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.003376, allocations: 180.2 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.635e-05/0.003422, allocations: 188.1 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.003466, allocations: 180.3 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.003671, allocations: 317.4 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.003698, allocations: 105 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.003724, allocations: 105 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.00376, allocations: 112.9 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.186e-05/0.003802, allocations: 176.3 kB / 0.8233 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.003846, allocations: 180.3 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.211e-05/0.003888, allocations: 184.2 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.25e-05/0.00393, allocations: 184.2 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.688e-05/0.004027, allocations: 303.8 kB / 0.8242 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.00408, allocations: 184.2 kB / 0.8243 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.004138, allocations: 105 kB / 0.8244 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.004186, allocations: 176.3 kB / 0.8246 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/0.004358, allocations: 108.9 kB / 0.8247 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.58e-05/0.004374, allocations: 12.78 kB / 0.8247 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.004374, allocations: 0 / 0.8247 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001889/0.004563, allocations: 96 / 0.8247 GB, free: 11.95 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: 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 8.862e-05/0.004652, allocations: 155.7 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.091e-05/0.004683, allocations: 0 / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.004686, allocations: 0 / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.004686, allocations: 4 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.004907, allocations: 467.5 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.005083, allocations: 163.3 kB / 0.8255 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.966e-05/0.005113, allocations: 51.36 kB / 0.8255 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.954e-06/0.005115, allocations: 4 kB / 0.8255 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.005136, allocations: 51.38 kB / 0.8256 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.005136, allocations: 0 / 0.8256 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.004379/0.009516, allocations: 168.8 kB / 0.8257 GB, free: 10.85 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.072367599233985]