Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002065/0.002065, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002627/0.002627, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002519/0.002519, allocations: 69.56 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3556, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002139/0.3578, allocations: 0.5523 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.874e-05/0.3578, allocations: 4 kB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.3579, allocations: 4 kB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.3579, allocations: 0 / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.3579, allocations: 3.938 kB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.873e-05/0.3579, allocations: 0 / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.358, allocations: 4 kB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.194e-05/0.3581, allocations: 4 kB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.3581, allocations: 3.938 kB / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.3581, allocations: 0 / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3581, allocations: 0 / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.3581, allocations: 0 / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.3581, allocations: 7.984 kB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.3581, allocations: 0 / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.763e-05/0.3582, allocations: 7.984 kB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3582, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3582, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3582, allocations: 0 / 1.326 GB, free: 1.781 MB / 1.014 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.0003121/0.3585, allocations: 238.7 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3586, allocations: 8.031 kB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.3586, allocations: 38.67 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.842e-05/0.3586, allocations: 0.9375 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3587, allocations: 110.5 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3588, allocations: 384 / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.3588, allocations: 384 / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.406e-05/0.3588, allocations: 34.2 kB / 1.326 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3589, allocations: 3.938 kB / 1.326 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.3589, allocations: 3.938 kB / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3589, allocations: 0 / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.205e-05/0.3589, allocations: 0 / 1.326 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.3592, allocations: 354.5 kB / 1.326 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3593, allocations: 181.5 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.3594, allocations: 80.14 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.3594, allocations: 79.28 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/0.3595, allocations: 109.8 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3595, allocations: 0 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 6.612e-05/0.3595, allocations: 29.73 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.3596, allocations: 126.7 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.3597, allocations: 101.8 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3597, allocations: 25.7 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.3598, allocations: 80.14 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.3598, allocations: 3.938 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.3598, allocations: 13.84 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.36, allocations: 314.8 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.36, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-06/0.36, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.36, allocations: 75.28 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.92e-05/0.3601, allocations: 83.22 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.416e-05/0.3601, allocations: 29.69 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.3602, allocations: 83.28 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/0.3602, allocations: 83.22 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.688e-05/0.3603, allocations: 150.6 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.341e-05/0.3603, allocations: 75.28 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.639e-05/0.3604, allocations: 162.5 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.3605, allocations: 75.28 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3605, allocations: 79.22 kB / 1.328 GB, free: 14.8 MB / 1.029 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.0001763/0.3607, allocations: 276.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.3608, allocations: 101 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.862e-05/0.3609, allocations: 108.1 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.579e-05/0.3609, allocations: 184.2 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.211e-05/0.361, allocations: 176.3 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.412e-05/0.3611, allocations: 188.2 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3614, allocations: 376.2 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.406e-05/0.3615, allocations: 113 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3615, allocations: 104.9 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.942e-05/0.3616, allocations: 180.2 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.601e-05/0.3617, allocations: 184.2 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001013/0.3618, allocations: 180.6 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.412e-05/0.3619, allocations: 180.2 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3621, allocations: 311.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.3621, allocations: 112.9 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3622, allocations: 176.3 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3623, allocations: 108.9 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.3624, allocations: 180.2 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.3625, allocations: 105 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.3625, allocations: 83.28 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002518/0.3628, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 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.0005021/0.3633, allocations: 0.8047 MB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.341e-05/0.3633, allocations: 4 kB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3633, allocations: 4 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3633, allocations: 0 / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3638, allocations: 465.8 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.365, allocations: 1.528 MB / 1.334 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.104e-05/0.365, allocations: 51.36 kB / 1.334 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.124e-06/0.365, allocations: 0 / 1.334 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.3651, allocations: 7.438 kB / 1.334 GB, free: 8.254 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3651, allocations: 0 / 1.334 GB, free: 8.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3942, allocations: 1.412 MB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 11.78 kB / 1.336 GB, free: 6.969 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.643311160150915]