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.001623/0.001623, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001904/0.001904, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.973 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.306/3.306, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.002145/0.002145, allocations: 61.59 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3696, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001765/0.3713, allocations: 0.5509 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.426e-05/0.3714, allocations: 3.938 kB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3714, allocations: 0 / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.3714, allocations: 0 / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.517e-05/0.3715, allocations: 3.938 kB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.163e-05/0.3715, allocations: 4 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.3716, allocations: 4 kB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.3716, allocations: 4 kB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.3716, allocations: 0 / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.709e-05/0.3716, allocations: 0 / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3716, allocations: 0 / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-06/0.3717, allocations: 0 / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.3717, allocations: 0 / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.3717, allocations: 7.938 kB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.528e-05/0.3718, allocations: 3.984 kB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3718, allocations: 0 / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3718, allocations: 4 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3718, allocations: 0 / 1.326 GB, free: 1.41 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.0003203/0.3721, allocations: 238.7 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3721, allocations: 8.031 kB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.3722, allocations: 34.69 kB / 1.327 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.725e-05/0.3722, allocations: 4.938 kB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3723, allocations: 106.5 kB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3723, allocations: 384 / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3723, allocations: 384 / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/0.3724, allocations: 34.27 kB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3724, allocations: 3.938 kB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3724, allocations: 3.984 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3724, allocations: 0 / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.555e-05/0.3724, allocations: 4 kB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.3728, allocations: 358.5 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3729, allocations: 177.5 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.3729, allocations: 80.14 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3729, allocations: 75.28 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.373, allocations: 105.8 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.373, allocations: 0 / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.393e-05/0.3731, allocations: 33.67 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.3732, allocations: 134.6 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.3732, allocations: 101.8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3733, allocations: 25.7 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.3733, allocations: 80.14 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.3733, allocations: 4 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.3733, allocations: 9.719 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3735, allocations: 310.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.3735, allocations: 4.125 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.3735, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.3735, allocations: 79.22 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.424e-05/0.3735, allocations: 79.22 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.52e-05/0.3736, allocations: 37.64 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3736, allocations: 83.27 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.3737, allocations: 79.28 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.082e-05/0.3737, allocations: 150.6 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-05/0.3738, allocations: 83.22 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.37e-05/0.3738, allocations: 150.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.3739, allocations: 83.22 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.374, allocations: 75.28 kB / 1.329 GB, free: 14.43 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.0001314/0.3741, allocations: 264.9 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.3742, allocations: 112.9 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.3742, allocations: 108.1 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.005e-05/0.3743, allocations: 176.3 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.128e-05/0.3744, allocations: 184.2 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.643e-05/0.3745, allocations: 180.3 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.3747, allocations: 384.2 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/0.3747, allocations: 105 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.3748, allocations: 105 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-05/0.3749, allocations: 184.2 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.3749, allocations: 180.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.658e-05/0.375, allocations: 180.5 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.667e-05/0.3751, allocations: 184.3 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3753, allocations: 311.7 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.3753, allocations: 105 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.3754, allocations: 180.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.3755, allocations: 101 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.3756, allocations: 192.2 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.3756, allocations: 104.9 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.3756, allocations: 79.28 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3756, allocations: 4 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002425/0.3759, allocations: 0 / 1.332 GB, free: 10.87 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.0004766/0.3764, allocations: 0.8049 MB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.399e-05/0.3764, allocations: 7.938 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3764, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.3764, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3768, allocations: 459.7 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.378, allocations: 1.535 MB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3783, allocations: 0.6729 MB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.625e-06/0.3783, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.3783, allocations: 7.438 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3783, allocations: 0 / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.4054, allocations: 1.015 MB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.03, allocations: 4.062 kB / 1.337 GB, free: 6.371 MB / 1.029 GB " [Timeout remaining time 289] (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.06621310599985]