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.0009891/0.0009891, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008791/0.0008791, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8831/0.8831, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.197e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001155/0.001177, allocations: 0.544 MB / 0.9815 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.049e-05/0.001217, allocations: 11.94 kB / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.001241, allocations: 0 / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.001265, allocations: 4 kB / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.44e-05/0.00129, allocations: 3.938 kB / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.768e-05/0.001318, allocations: 0 / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.001371, allocations: 0 / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.001416, allocations: 3.984 kB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.001446, allocations: 4 kB / 0.9815 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.001464, allocations: 0 / 0.9815 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.001482, allocations: 0 / 0.9815 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-06/0.001485, allocations: 0 / 0.9815 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.001498, allocations: 4 kB / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.001514, allocations: 0 / 0.9815 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.734e-05/0.001571, allocations: 7.984 kB / 0.9815 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.001573, allocations: 4 kB / 0.9815 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.31e-07/0.001574, allocations: 0 / 0.9815 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.001577, allocations: 0 / 0.9815 GB, free: 1.973 MB / 0.9323 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.0002415/0.001818, allocations: 237 kB / 0.9818 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.00186, allocations: 8.031 kB / 0.9818 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.001887, allocations: 30.75 kB / 0.9818 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.771e-05/0.001905, allocations: 0.9375 kB / 0.9818 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.001985, allocations: 109.8 kB / 0.9819 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.001996, allocations: 16.25 kB / 0.9819 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.002003, allocations: 384 / 0.9819 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.702e-05/0.00209, allocations: 30.27 kB / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.002097, allocations: 192 / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.002104, allocations: 384 / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.00211, allocations: 8.109 kB / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.002125, allocations: 0 / 0.982 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.002394, allocations: 350.5 kB / 0.9823 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.002464, allocations: 173.1 kB / 0.9825 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.00249, allocations: 80.14 kB / 0.9825 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.002509, allocations: 79.28 kB / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.002547, allocations: 121.7 kB / 0.9827 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.002548, allocations: 0 / 0.9827 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 5.428e-05/0.002602, allocations: 29.7 kB / 0.9828 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.002647, allocations: 130.6 kB / 0.9829 GB, free: 452 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.002714, allocations: 93.86 kB / 0.983 GB, free: 348 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.002723, allocations: 25.7 kB / 0.983 GB, free: 316 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.002744, allocations: 80.14 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.002746, allocations: 0 / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.002763, allocations: 13.72 kB / 0.9831 GB, free: 212 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.002855, allocations: 323 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-06/0.00286, allocations: 0 / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-06/0.002863, allocations: 0 / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.002885, allocations: 75.28 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.002903, allocations: 75.28 kB / 0.9835 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.94e-05/0.002942, allocations: 33.64 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.002977, allocations: 79.28 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.003002, allocations: 83.22 kB / 0.9837 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-05/0.003047, allocations: 150.6 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.003072, allocations: 79.22 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.054e-05/0.003112, allocations: 154.6 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.00316, allocations: 87.27 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.003181, allocations: 79.22 kB / 0.9843 GB, free: 14.99 MB / 0.948 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 9.705e-05/0.003278, allocations: 260.4 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.003321, allocations: 109 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.003682, allocations: 108.1 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.003728, allocations: 188.4 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/0.003776, allocations: 180.3 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.251e-05/0.003818, allocations: 184.2 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.003965, allocations: 368.3 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/0.003991, allocations: 108.9 kB / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.004016, allocations: 113 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-05/0.00406, allocations: 184.1 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.004101, allocations: 176.3 kB / 0.9861 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.669e-05/0.004138, allocations: 180.3 kB / 0.9863 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-05/0.004178, allocations: 184.2 kB / 0.9865 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.486e-05/0.004272, allocations: 307.7 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.004304, allocations: 108.9 kB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.004353, allocations: 184.2 kB / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.004403, allocations: 116.9 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.004452, allocations: 176.3 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.004476, allocations: 104.9 kB / 0.9874 GB, free: 11.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.004513, allocations: 87.28 kB / 0.9875 GB, free: 11.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004513, allocations: 3.938 kB / 0.9875 GB, free: 11.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001553/0.004668, allocations: 0 / 0.9875 GB, free: 11.44 MB / 0.948 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.0003034/0.004972, allocations: 0.8009 MB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.846e-05/0.00501, allocations: 4 kB / 0.9883 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005011, allocations: 3.938 kB / 0.9883 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.005012, allocations: 4 kB / 0.9883 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.005254, allocations: 451.8 kB / 0.9888 GB, free: 10.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.006046, allocations: 1.525 MB / 0.9902 GB, free: 8.547 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.006089, allocations: 55.34 kB / 0.9903 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.686e-06/0.006098, allocations: 0 / 0.9903 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.006128, allocations: 8.5 kB / 0.9903 GB, free: 8.465 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/0.006129, allocations: 0 / 0.9903 GB, free: 8.465 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.02261, allocations: 1.534 MB / 0.9918 GB, free: 7.055 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.702, allocations: 9.438 kB / 0.9918 GB, free: 7.051 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.79318924434483]