Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001846/0.001846, 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.002086/0.002086, allocations: 213.3 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.789 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.244/3.244, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_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.002178/0.002178, allocations: 85.41 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3956, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001765/0.3974, allocations: 0.5529 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.968e-05/0.3975, allocations: 4 kB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.3975, allocations: 4 kB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.3975, allocations: 4 kB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.3975, allocations: 0 / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.959e-05/0.3976, allocations: 3.984 kB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.3976, allocations: 0 / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.3977, allocations: 0 / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.3977, allocations: 7.938 kB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.632e-05/0.3977, allocations: 0 / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3977, allocations: 0 / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-06/0.3977, allocations: 0 / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3977, allocations: 0 / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.3977, allocations: 0 / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.827e-05/0.3978, allocations: 11.98 kB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3978, allocations: 7.938 kB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3978, allocations: 0 / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3978, allocations: 0 / 1.326 GB, free: 1.801 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.0002988/0.3981, allocations: 238.7 kB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3982, allocations: 8.031 kB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.3982, allocations: 30.75 kB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.743e-05/0.3982, allocations: 0.9375 kB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3983, allocations: 110.5 kB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3983, allocations: 4.312 kB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3983, allocations: 4.375 kB / 1.326 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.3984, allocations: 34.25 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3984, allocations: 3.938 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.3984, allocations: 0 / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3985, allocations: 0 / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.3985, allocations: 3.938 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3988, allocations: 350.6 kB / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3989, allocations: 173.5 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.399, allocations: 80.14 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.399, allocations: 79.27 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.3991, allocations: 117.8 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3991, allocations: 4 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.084e-05/0.3991, allocations: 29.73 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.3992, allocations: 126.7 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.3993, allocations: 93.86 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3993, allocations: 25.7 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3994, allocations: 80.14 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3994, allocations: 3.938 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.3994, allocations: 13.72 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3995, allocations: 318.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.3995, allocations: 4.125 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.3996, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.3996, allocations: 75.28 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/0.3996, allocations: 79.22 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.052e-05/0.3997, allocations: 33.64 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.3997, allocations: 80.69 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/0.3998, allocations: 79.28 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.668e-05/0.3998, allocations: 154.5 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.659e-05/0.3999, allocations: 75.28 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.976e-05/0.4, allocations: 162.5 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.4, allocations: 79.22 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.4001, allocations: 79.28 kB / 1.328 GB, free: 14.82 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.0001384/0.4002, allocations: 264.9 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.4003, allocations: 104.9 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.4003, allocations: 104.1 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.649e-05/0.4004, allocations: 192.2 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.4005, allocations: 180.2 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.4006, allocations: 176.3 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.4009, allocations: 380.2 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.315e-05/0.4009, allocations: 109 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.401, allocations: 108.9 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-05/0.4011, allocations: 180.3 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.4011, allocations: 176.3 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.769e-05/0.4012, allocations: 184.5 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-05/0.4013, allocations: 180.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.4015, allocations: 311.7 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.4016, allocations: 105 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.4017, allocations: 184.2 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.4017, allocations: 101 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.4018, allocations: 192.2 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.4019, allocations: 101 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.4019, allocations: 83.28 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4019, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002714/0.4022, allocations: 0 / 1.332 GB, free: 11.27 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.0006127/0.4028, allocations: 0.8087 MB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.551e-05/0.4029, allocations: 0 / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4029, allocations: 0 / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-06/0.4029, allocations: 7.938 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.4034, allocations: 459.7 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.405, allocations: 1.528 MB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.076e-05/0.4051, allocations: 59.34 kB / 1.334 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.4051, allocations: 0 / 1.334 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.4051, allocations: 7.438 kB / 1.334 GB, free: 8.273 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4051, allocations: 0 / 1.334 GB, free: 8.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.4406, allocations: 1.415 MB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.69, allocations: 2.328 kB / 1.336 GB, free: 6.996 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.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_Integers_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.528176504652947]