Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.0008629/0.0008629, 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.0008439/0.0008439, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9128/0.9128, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.718/1.718, allocations: 377.9 MB / 0.6221 GB, free: 8.652 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.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.436e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001368/0.001393, allocations: 0.6183 MB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.002168, allocations: 0.8043 MB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.002199, allocations: 0 / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.002226, allocations: 0 / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.002283, allocations: 7.938 kB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.897e-05/0.002332, allocations: 7.984 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.002404, allocations: 15.94 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.002458, allocations: 3.984 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.002535, allocations: 8 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.351e-05/0.002569, allocations: 7.984 kB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.002593, allocations: 4 kB / 0.9824 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-06/0.002597, allocations: 4 kB / 0.9825 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.002613, allocations: 0 / 0.9825 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.002635, allocations: 11.94 kB / 0.9825 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.002739, allocations: 23.84 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.002742, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.272e-06/0.002743, allocations: 0 / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002747, allocations: 0 / 0.9825 GB, free: 1.016 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.0003224/0.003069, allocations: 250.5 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.00311, allocations: 8.031 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.715e-05/0.003137, allocations: 30.75 kB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.003158, allocations: 8.938 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.8e-05/0.003236, allocations: 109.7 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.003247, allocations: 4.375 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003255, allocations: 4.375 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.003364, allocations: 42.23 kB / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.00337, allocations: 192 / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003378, allocations: 384 / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003383, allocations: 4.125 kB / 0.9829 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.003457, allocations: 35.91 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.003568, allocations: 128.7 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.003633, allocations: 30.53 kB / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.003677, allocations: 24.91 kB / 0.9831 GB, free: 228 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.003685, allocations: 0 / 0.9831 GB, free: 228 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.003702, allocations: 30.56 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 2.585e-06/0.003704, allocations: 3.984 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001858/0.00389, allocations: 81.58 kB / 0.9832 GB, free: 96 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.003916, allocations: 55.34 kB / 0.9833 GB, free: 28 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.003981, allocations: 101.8 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.003991, allocations: 25.7 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.00408, allocations: 88.08 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.004121, allocations: 3.953 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.004162, allocations: 13.72 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.004233, allocations: 314.8 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.004326, allocations: 20.09 kB / 0.9838 GB, free: 15.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.004364, allocations: 15.98 kB / 0.9839 GB, free: 15.42 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.004445, allocations: 32.83 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.004448, allocations: 0 / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.004567, allocations: 61.59 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.004583, allocations: 8.094 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.004589, allocations: 0 / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.004604, allocations: 4 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.004672, allocations: 7.938 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.004679, allocations: 3.984 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.004707, allocations: 4 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.004713, allocations: 0 / 0.984 GB, free: 15.29 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 (1): * Single equations (assignments): 1 * 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 5.617e-05/0.004769, allocations: 109.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.004777, allocations: 4 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.004797, allocations: 7.141 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.0048, allocations: 4 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.004805, allocations: 3.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004808, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.405e-05/0.004882, allocations: 120.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.004882, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.004908, allocations: 7.984 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.004909, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.004916, allocations: 4 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.004916, allocations: 0 / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.004919, allocations: 3.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.005035, allocations: 89.03 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.005044, allocations: 3.953 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.005055, allocations: 8 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.005075, allocations: 7.984 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.005109, allocations: 7.875 kB / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.005111, allocations: 0 / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.005141, allocations: 87.27 kB / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005141, allocations: 3.938 kB / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001182/0.00526, allocations: 8.031 kB / 0.9844 GB, free: 14.75 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 (1): * Single equations (assignments): 1 * 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.0002966/0.005556, allocations: 0.6124 MB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.005691, allocations: 27.97 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.005693, allocations: 0 / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.00573, allocations: 20.08 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.00594, allocations: 11.92 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.006253, allocations: 122.5 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.006296, allocations: 59.34 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.006317, allocations: 0 / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.006353, allocations: 8.5 kB / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.12e-07/0.006354, allocations: 0 / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.02061, allocations: 1.893 MB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/6.842, allocations: 7.547 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.95635656453669]