Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 90.67 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.809/2.809, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 16 kB / 0.8722 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.793, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0008685/0.7939, allocations: 317.1 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 4.128e-05/0.794, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.794, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.794, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.82e-05/0.7941, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.058e-05/0.7941, allocations: 4 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.7942, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.7942, allocations: 3.984 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.7942, allocations: 3.984 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.7943, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.7943, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.7943, allocations: 4 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.7943, allocations: 3.938 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.7944, allocations: 29.7 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.021e-05/0.7944, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7944, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7944, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.7944, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 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.0002968/0.7947, allocations: 315.4 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7948, allocations: 8.031 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.7948, allocations: 3.906 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.795, allocations: 163.1 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.795, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.795, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.7951, allocations: 33.66 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7951, allocations: 0 / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.7952, allocations: 3.938 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7952, allocations: 3.938 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.7952, allocations: 3.938 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.7956, allocations: 387.5 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.7957, allocations: 169.2 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.7957, allocations: 80.14 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.7958, allocations: 79.27 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.7959, allocations: 117.8 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.7959, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.672e-05/0.7959, allocations: 25.7 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.796, allocations: 126.7 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.7961, allocations: 93.86 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.7961, allocations: 25.7 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.7962, allocations: 88.14 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.7962, allocations: 128 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.7962, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7963, allocations: 314.8 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.7963, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-06/0.7963, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.7964, allocations: 75.28 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/0.7964, allocations: 75.28 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.203e-05/0.7965, allocations: 37.59 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.7965, allocations: 79.28 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.7966, allocations: 83.28 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-05/0.7967, allocations: 158.5 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.7967, allocations: 75.28 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.146e-05/0.7968, allocations: 162.5 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.7968, allocations: 75.28 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.7969, allocations: 83.31 kB / 1.026 GB, free: 12.54 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.797, allocations: 260.4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.7971, allocations: 108.9 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.7972, allocations: 104.1 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.478e-05/0.7972, allocations: 192.2 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-05/0.7973, allocations: 176.3 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.222e-05/0.7974, allocations: 180.3 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.7977, allocations: 405.2 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.7977, allocations: 105 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.7978, allocations: 108.9 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.434e-05/0.7978, allocations: 180.2 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.7979, allocations: 184.3 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.697e-05/0.798, allocations: 180.2 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.638e-05/0.7981, allocations: 180.2 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.7982, allocations: 307.7 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.7983, allocations: 178.5 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.7984, allocations: 200.1 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.7985, allocations: 105 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.7985, allocations: 188.2 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.7986, allocations: 101 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.7986, allocations: 79.28 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7986, allocations: 0 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002718/0.7989, allocations: 4.094 kB / 1.029 GB, free: 8.859 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.7991, allocations: 178.5 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.358e-05/0.7991, allocations: 0 / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7991, allocations: 0 / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.7991, allocations: 3.938 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.7996, allocations: 0.5263 MB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.7998, allocations: 150 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.8001, allocations: 0.6731 MB / 1.03 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.8001, allocations: 0 / 1.03 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.8001, allocations: 7.438 kB / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8001, allocations: 0 / 1.03 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.001993/0.8021, allocations: 156.2 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches