Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_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.001405/0.001405, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5262, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001622/0.5278, allocations: 0.5513 MB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.289e-05/0.5279, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.5279, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.5279, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.535e-05/0.528, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.987e-05/0.528, allocations: 7.938 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.528, allocations: 7.922 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.5281, allocations: 11.98 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.137e-05/0.5281, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.425e-05/0.5281, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.5281, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-06/0.5281, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.5282, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.5282, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.499e-05/0.5282, allocations: 7.938 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5282, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5282, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5283, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 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.0002434/0.5285, allocations: 319.5 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5285, allocations: 8.031 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.5286, allocations: 30.75 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.711e-05/0.5286, allocations: 0.9375 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.291e-05/0.5287, allocations: 164.4 kB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.5287, allocations: 384 / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-06/0.5287, allocations: 384 / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.127e-05/0.5288, allocations: 26.27 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5288, allocations: 3.938 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5288, allocations: 8 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.5288, allocations: 7.938 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.23e-05/0.5288, allocations: 3.938 kB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.5291, allocations: 379.5 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.5292, allocations: 169.1 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.5292, allocations: 84.14 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5292, allocations: 83.2 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5292, allocations: 105.9 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5292, allocations: 4 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 5.87e-05/0.5293, allocations: 25.7 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5294, allocations: 126.7 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.5294, allocations: 101.9 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.5294, allocations: 25.7 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.5295, allocations: 80.14 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.5295, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.5295, allocations: 9.719 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.5296, allocations: 318.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-06/0.5296, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.5296, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.5296, allocations: 79.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.5297, allocations: 79.22 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.999e-05/0.5297, allocations: 33.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.5297, allocations: 83.22 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5298, allocations: 75.28 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.778e-05/0.5298, allocations: 154.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.5298, allocations: 83.31 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-05/0.5299, allocations: 162.5 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.53, allocations: 75.28 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.53, allocations: 75.28 kB / 1.021 GB, free: 14.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/0.5301, allocations: 273.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.5301, allocations: 101 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.5302, allocations: 108.1 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/0.5302, allocations: 184.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.58e-05/0.5303, allocations: 180.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/0.5303, allocations: 184.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.5305, allocations: 401.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.5305, allocations: 109 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.5306, allocations: 108.9 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-05/0.5306, allocations: 176.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.5307, allocations: 184.2 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.684e-05/0.5307, allocations: 184.2 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.224e-05/0.5308, allocations: 176.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.5309, allocations: 315.7 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.5309, allocations: 186.4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.531, allocations: 180.2 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.5311, allocations: 105 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.5311, allocations: 184.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5311, allocations: 105 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.5312, allocations: 83.28 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5312, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002413/0.5314, allocations: 0 / 1.024 GB, free: 11.07 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 (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.0003004/0.5317, allocations: 0.8165 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.964e-05/0.5318, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5318, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5318, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.5321, allocations: 453.2 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.5329, allocations: 1.536 MB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5331, allocations: 0.6767 MB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.711e-06/0.5331, allocations: 3.938 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.5331, allocations: 7.438 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5332, allocations: 0 / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.5478, allocations: 0.8977 MB / 1.029 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/7.234, allocations: 4.781 kB / 1.029 GB, free: 6.645 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches