Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006623/0.006623, allocations: 97.66 kB / 15.73 MB, free: 6.059 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.001307/0.001307, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.91 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3746, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001816/0.3764, allocations: 0.5725 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.145e-05/0.3764, allocations: 11.94 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.3765, allocations: 0 / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.3765, allocations: 3.938 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.3765, allocations: 0 / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.429e-05/0.3766, allocations: 4 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.3766, allocations: 0 / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.3767, allocations: 7.938 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.3767, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.671e-05/0.3767, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3767, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-06/0.3767, allocations: 0 / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.3767, allocations: 7.984 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.3768, allocations: 0 / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.905e-05/0.3768, allocations: 15.92 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3768, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3768, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3769, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 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.0003575/0.3772, allocations: 323.5 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3773, allocations: 8.031 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.3773, allocations: 0.9375 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3774, allocations: 164.4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.3774, allocations: 384 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3774, allocations: 4.375 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.3775, allocations: 26.27 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3775, allocations: 192 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3776, allocations: 7.938 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3776, allocations: 0 / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.3776, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3779, allocations: 387.5 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.378, allocations: 169.1 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.378, allocations: 80.14 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.378, allocations: 75.28 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3781, allocations: 109.8 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3781, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.921e-05/0.3781, allocations: 39.47 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3782, allocations: 126.7 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.3783, allocations: 97.86 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.3783, allocations: 25.7 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.3783, allocations: 80.14 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.3783, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.3784, allocations: 13.84 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3785, allocations: 310.8 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.3785, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.3785, allocations: 8 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.3785, allocations: 79.27 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.3785, allocations: 79.22 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.546e-05/0.3786, allocations: 37.58 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.3786, allocations: 83.28 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.3786, allocations: 83.22 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.84e-05/0.3787, allocations: 150.6 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.624e-05/0.3787, allocations: 79.22 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.865e-05/0.3788, allocations: 154.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.3789, allocations: 87.19 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3789, allocations: 75.28 kB / 1.224 GB, free: 10.04 MB / 0.9825 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.0001107/0.379, allocations: 268.3 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.3791, allocations: 108.9 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.3791, allocations: 104.1 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/0.3792, allocations: 176.3 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.728e-05/0.3792, allocations: 192.2 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.329e-05/0.3793, allocations: 184.3 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.3795, allocations: 401.1 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/0.3796, allocations: 105.2 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.3796, allocations: 105 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.315e-05/0.3796, allocations: 184.2 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.3797, allocations: 180.3 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-05/0.3798, allocations: 184.2 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-05/0.3798, allocations: 184.2 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.38, allocations: 307.7 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.3801, allocations: 182 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.3801, allocations: 188.2 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3802, allocations: 101 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.3803, allocations: 180.3 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.3803, allocations: 104.9 kB / 1.227 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.3804, allocations: 83.28 kB / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3804, allocations: 0 / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.3806, allocations: 96 / 1.227 GB, free: 6.367 MB / 0.9825 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.0001775/0.3808, allocations: 182.5 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.537e-05/0.3808, allocations: 8 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3808, allocations: 0 / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.3808, allocations: 0 / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3812, allocations: 463.6 kB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.3815, allocations: 167.9 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3817, allocations: 0.6729 MB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.3817, allocations: 3.984 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.3817, allocations: 7.438 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3817, allocations: 0 / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.001853/0.3836, allocations: 164.8 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches