Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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: 152 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.001573/0.001573, allocations: 194.3 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6439, allocations: 140.4 MB / 0.9497 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001701/0.6457, allocations: 0.5323 MB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.673e-05/0.6457, allocations: 5.25 kB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.6458, allocations: 0 / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.6458, allocations: 3.938 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.027e-05/0.6458, allocations: 0 / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.794e-05/0.6458, allocations: 1.469 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.6459, allocations: 1.344 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.6459, allocations: 13.5 kB / 0.9503 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.646, allocations: 3.938 kB / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.474e-05/0.646, allocations: 0 / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.646, allocations: 1.469 kB / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-06/0.646, allocations: 0 / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.646, allocations: 0 / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.646, allocations: 1.562 kB / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.567e-05/0.6461, allocations: 7.984 kB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6461, allocations: 1.438 kB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6461, allocations: 0 / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6461, allocations: 0 / 0.9503 GB, free: 8.629 MB / 0.7169 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.0002199/0.6464, allocations: 316.6 kB / 0.9506 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6464, allocations: 8.969 kB / 0.9506 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.6464, allocations: 36.22 kB / 0.9507 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.974e-05/0.6465, allocations: 4.844 kB / 0.9507 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.198e-05/0.6465, allocations: 165.5 kB / 0.9508 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.6465, allocations: 4.312 kB / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.6466, allocations: 1.562 kB / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.08e-05/0.6466, allocations: 34.86 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.6466, allocations: 4 kB / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.6467, allocations: 1.344 kB / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6467, allocations: 0 / 0.9509 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.6467, allocations: 5.172 kB / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.6469, allocations: 378.7 kB / 0.9512 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.6469, allocations: 174.4 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.647, allocations: 84.14 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.647, allocations: 76.69 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.647, allocations: 105.8 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.647, allocations: 0 / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.738e-05/0.6471, allocations: 27.14 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.6471, allocations: 136 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.305e-05/0.6472, allocations: 97.11 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.6472, allocations: 25.7 kB / 0.9519 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.6472, allocations: 80.14 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.6472, allocations: 0 / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.6472, allocations: 18.98 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.6473, allocations: 320.1 kB / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.6473, allocations: 0 / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.6473, allocations: 0 / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.239e-05/0.6473, allocations: 81.06 kB / 0.9524 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.6473, allocations: 75.28 kB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.386e-05/0.6474, allocations: 28.64 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6474, allocations: 79.28 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.6474, allocations: 80.53 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.6475, allocations: 152 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.32e-05/0.6475, allocations: 87.23 kB / 0.9529 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.6475, allocations: 155.8 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.6476, allocations: 76.78 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.6476, allocations: 84.47 kB / 0.9532 GB, free: 5.496 MB / 0.7169 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 5.219e-05/0.6476, allocations: 261.8 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.6477, allocations: 101 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.6477, allocations: 125 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.6477, allocations: 177.6 kB / 0.9538 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/0.6478, allocations: 183.2 kB / 0.954 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.6478, allocations: 181.5 kB / 0.9542 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.6479, allocations: 402.5 kB / 0.9545 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.6479, allocations: 110.3 kB / 0.9546 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.6479, allocations: 101 kB / 0.9547 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/0.648, allocations: 185.6 kB / 0.9549 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.648, allocations: 177.6 kB / 0.9551 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/0.648, allocations: 185.6 kB / 0.9553 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-05/0.648, allocations: 180.2 kB / 0.9554 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.723e-05/0.6481, allocations: 315.8 kB / 0.9557 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.6481, allocations: 183.9 kB / 0.9559 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.6482, allocations: 177.6 kB / 0.9561 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.6482, allocations: 104.9 kB / 0.9562 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.6482, allocations: 181.7 kB / 0.9564 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.6483, allocations: 114.3 kB / 0.9565 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.89e-05/0.6483, allocations: 80.64 kB / 0.9565 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6483, allocations: 1.375 kB / 0.9565 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002483/0.6486, allocations: 0 / 0.9565 GB, free: 1.844 MB / 0.7169 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.0002124/0.6488, allocations: 0.8055 MB / 0.9573 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.465e-05/0.6488, allocations: 1.375 kB / 0.9573 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6488, allocations: 0 / 0.9573 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.6488, allocations: 3.938 kB / 0.9573 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.6491, allocations: 462.4 kB / 0.9578 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.6499, allocations: 1.526 MB / 0.9593 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.6501, allocations: 0.678 MB / 0.9599 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.815e-06/0.6501, allocations: 0 / 0.9599 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.6502, allocations: 7.438 kB / 0.9599 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6502, allocations: 0 / 0.9599 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.667, allocations: 0.8858 MB / 0.9608 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.324, allocations: 13.19 kB / 0.9608 GB, free: 13.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches