Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 216.4 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.366/3.366, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.5 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002167/0.3597, allocations: 0.5554 MB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.016e-05/0.3597, allocations: 7.938 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.3598, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.3598, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.3598, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.128e-05/0.3599, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.3599, allocations: 7.984 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.298e-05/0.36, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.36, allocations: 4 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.36, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.36, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.36, allocations: 4 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.3601, allocations: 7.984 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.3601, allocations: 3.938 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.625e-05/0.3601, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3601, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3601, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3602, allocations: 0 / 1.364 GB, free: 13.47 MB / 1.061 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.0003171/0.3605, allocations: 242.7 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3605, allocations: 15.97 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.3606, allocations: 30.75 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.3606, allocations: 0.9375 kB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3607, allocations: 106.5 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3607, allocations: 4.375 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3607, allocations: 384 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.002e-05/0.3608, allocations: 30.25 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3608, allocations: 3.938 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.3608, allocations: 3.984 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3608, allocations: 4 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.3608, allocations: 4 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.3612, allocations: 350.5 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3613, allocations: 173.5 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.3613, allocations: 88.17 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3614, allocations: 79.27 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.3614, allocations: 105.8 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.3614, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.738e-05/0.3615, allocations: 33.67 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.3616, allocations: 130.7 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.3617, allocations: 101.8 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3617, allocations: 25.7 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3618, allocations: 84.08 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3618, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.3618, allocations: 13.84 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3619, allocations: 318.8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/0.3619, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-06/0.3619, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.362, allocations: 75.28 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.266e-05/0.362, allocations: 79.22 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.436e-05/0.3621, allocations: 33.64 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.3621, allocations: 82.09 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.3621, allocations: 75.28 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.3623, allocations: 162.5 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.443e-05/0.3623, allocations: 75.28 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-05/0.3624, allocations: 158.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.3624, allocations: 83.22 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.3625, allocations: 75.28 kB / 1.367 GB, free: 10.48 MB / 1.061 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.0001587/0.3626, allocations: 260.3 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.3627, allocations: 112.9 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.3628, allocations: 104.1 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.203e-05/0.3629, allocations: 181.3 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/0.363, allocations: 184.2 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.001e-05/0.3631, allocations: 176.3 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.3634, allocations: 384.2 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/0.3634, allocations: 109 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.3635, allocations: 101 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.985e-05/0.3635, allocations: 184.2 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.3636, allocations: 176.3 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.189e-05/0.3637, allocations: 180.5 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.102e-05/0.3638, allocations: 188.2 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.364, allocations: 311.7 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.3641, allocations: 105 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3642, allocations: 188.2 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.3643, allocations: 101 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.3644, allocations: 184.3 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.3644, allocations: 108.9 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.3645, allocations: 75.28 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3645, allocations: 3.938 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002402/0.3647, allocations: 4 kB / 1.37 GB, free: 6.93 MB / 1.061 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.0005524/0.3652, allocations: 0.8047 MB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.716e-05/0.3653, allocations: 7.938 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3653, allocations: 0 / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.3653, allocations: 0 / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3658, allocations: 467.8 kB / 1.371 GB, free: 5.625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3671, allocations: 1.52 MB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.377e-05/0.3672, allocations: 55.34 kB / 1.373 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.253e-06/0.3672, allocations: 4 kB / 1.373 GB, free: 3.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.3672, allocations: 7.438 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3672, allocations: 0 / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3956, allocations: 1.397 MB / 1.374 GB, free: 2.672 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 21.22 kB / 1.374 GB, free: 2.656 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.66744817700237]