Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_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.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 132 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.001557/0.001557, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.43/2.43, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6267, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001841/0.6286, allocations: 0.5483 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.787e-05/0.6287, allocations: 3.938 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.6287, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.6287, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.6288, allocations: 4 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.92e-05/0.6288, allocations: 7.938 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.6289, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.6289, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.6289, allocations: 7.984 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.622e-05/0.629, allocations: 4 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.629, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-06/0.629, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.629, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.629, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.145e-05/0.6291, allocations: 7.922 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6291, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6291, allocations: 8 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6291, 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.0002427/0.6293, allocations: 307.5 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6294, allocations: 16.05 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.6294, allocations: 34.75 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.84e-05/0.6295, allocations: 0.9375 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.224e-05/0.6295, allocations: 164.3 kB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.6296, allocations: 384 / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.6296, allocations: 4.375 kB / 1.019 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.827e-05/0.6296, allocations: 30.27 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6297, allocations: 7.875 kB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.6297, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6297, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.41e-05/0.6297, allocations: 4 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.63, allocations: 379.5 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.63, allocations: 177.1 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.6301, allocations: 80.14 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.6301, allocations: 79.28 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.6301, allocations: 105.8 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.6301, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 6.502e-05/0.6302, allocations: 33.62 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6303, allocations: 134.7 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.6303, allocations: 89.86 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.6303, allocations: 25.7 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.6304, allocations: 88.14 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.6304, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.6304, allocations: 9.719 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.6305, allocations: 310.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-06/0.6305, allocations: 4.125 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.6305, allocations: 3.984 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.6305, allocations: 79.28 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.6306, allocations: 79.22 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.331e-05/0.6306, allocations: 29.64 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.6307, allocations: 89.41 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.6307, allocations: 79.28 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.728e-05/0.6307, allocations: 154.6 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.359e-05/0.6308, allocations: 87.25 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.581e-05/0.6308, allocations: 150.6 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.6309, allocations: 87.2 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.6309, allocations: 75.28 kB / 1.021 GB, free: 14.74 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.673e-05/0.631, allocations: 260.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.631, allocations: 109 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.6311, allocations: 112 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/0.6311, allocations: 176.3 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-05/0.6312, allocations: 184.2 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-05/0.6313, allocations: 180.3 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.6315, allocations: 405.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.6315, allocations: 108.9 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.6315, allocations: 105 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.795e-05/0.6316, allocations: 180.2 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.6316, allocations: 176.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.342e-05/0.6317, allocations: 176.3 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-05/0.6318, allocations: 196.1 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.6319, allocations: 307.7 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.632, allocations: 182.5 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.6321, allocations: 184.2 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.6321, allocations: 112.9 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.6322, allocations: 184.3 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.6322, allocations: 104.9 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.6323, allocations: 75.28 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6323, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002351/0.6325, allocations: 4 kB / 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.0003956/0.6329, allocations: 0.8088 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.627e-05/0.633, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.633, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.633, allocations: 0 / 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.00034/0.6333, allocations: 463.7 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.6346, allocations: 1.53 MB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.6349, allocations: 0.6768 MB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.768e-06/0.6349, 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 3.223e-05/0.6349, allocations: 7.438 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6349, allocations: 0 / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.6518, allocations: 0.8949 MB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.584, allocations: 10.23 kB / 1.029 GB, free: 6.641 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches