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) 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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007674/0.007674, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001895/0.001896, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.558/2.558, allocations: 469.4 MB / 0.7422 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7293, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001696/0.7311, allocations: 0.54 MB / 1.22 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.633e-05/0.7311, allocations: 4 kB / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.7311, allocations: 0 / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.7312, allocations: 7.938 kB / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.448e-05/0.7312, allocations: 0 / 1.22 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.907e-05/0.7313, allocations: 3.938 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.7313, allocations: 4 kB / 1.22 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.7314, allocations: 9.969 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.7314, allocations: 4 kB / 1.22 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.713e-05/0.7314, allocations: 0 / 1.22 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.7314, allocations: 0 / 1.22 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-06/0.7315, allocations: 0 / 1.22 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.7315, allocations: 4 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.7315, allocations: 0 / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.551e-05/0.7316, allocations: 3.984 kB / 1.22 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7316, allocations: 4 kB / 1.22 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7316, allocations: 3.938 kB / 1.22 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7316, allocations: 4 kB / 1.22 GB, free: 1.684 MB / 0.9356 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.000283/0.7319, allocations: 307.5 kB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7319, allocations: 16.64 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.732, allocations: 30.75 kB / 1.221 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.797e-05/0.732, allocations: 0.9375 kB / 1.221 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.7321, allocations: 164.4 kB / 1.221 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.7321, allocations: 4.312 kB / 1.221 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.7321, allocations: 4.375 kB / 1.221 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.7322, allocations: 30.27 kB / 1.221 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.7323, allocations: 3.938 kB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.7323, allocations: 0 / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7323, allocations: 0 / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.7323, allocations: 4 kB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.7326, allocations: 379.5 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.7327, allocations: 181 kB / 1.221 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.7327, allocations: 84.12 kB / 1.221 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.7328, allocations: 75.28 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.7328, allocations: 113.8 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7328, allocations: 0 / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.481e-05/0.7329, allocations: 33.64 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.733, allocations: 130.7 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.7331, allocations: 89.86 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.7331, allocations: 29.7 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.7332, allocations: 80.14 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.7332, allocations: 0 / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.7332, allocations: 13.72 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7333, allocations: 310.8 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.7333, allocations: 4.125 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.7333, allocations: 3.984 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.7333, allocations: 79.28 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.7334, allocations: 83.16 kB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.275e-05/0.7334, allocations: 25.7 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.7335, allocations: 83.28 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.7335, allocations: 83.25 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.877e-05/0.7336, allocations: 150.6 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.389e-05/0.7336, allocations: 87.16 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.214e-05/0.7337, allocations: 158.6 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.7337, allocations: 79.27 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.7338, allocations: 79.22 kB / 1.223 GB, free: 14.5 MB / 0.9512 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.0001394/0.7339, allocations: 260.9 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.734, allocations: 109 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.7341, allocations: 108 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.863e-05/0.7341, allocations: 180.3 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.445e-05/0.7342, allocations: 184.2 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/0.7343, allocations: 180.3 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.7345, allocations: 409.2 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.7345, allocations: 109.8 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.7346, allocations: 105 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-05/0.7346, allocations: 180.2 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.7347, allocations: 176.3 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-05/0.7348, allocations: 176.3 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-05/0.7349, allocations: 196.2 kB / 1.225 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.735, allocations: 308.1 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.7351, allocations: 182 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.7351, allocations: 180.3 kB / 1.226 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.7352, allocations: 108.9 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.7353, allocations: 188.3 kB / 1.226 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.7353, allocations: 104.9 kB / 1.226 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.7354, allocations: 75.28 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7354, allocations: 4 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003008/0.7357, allocations: 0 / 1.227 GB, free: 10.83 MB / 0.9512 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.000381/0.7361, allocations: 0.8118 MB / 1.227 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 3.575e-05/0.7362, allocations: 3.938 kB / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7362, allocations: 0 / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.7362, allocations: 0 / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.7365, allocations: 459.7 kB / 1.228 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.7375, allocations: 1.524 MB / 1.229 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.7377, allocations: 0.6767 MB / 1.23 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.272e-06/0.7377, allocations: 0 / 1.23 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.7377, allocations: 7.438 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.7377, allocations: 3.938 kB / 1.23 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.7534, allocations: 0.9274 MB / 1.231 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.947, allocations: 15.12 kB / 1.231 GB, free: 6.406 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/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) Reference file matches