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.0008081/0.0008081, 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.0009585/0.0009585, 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.8678/0.8678, allocations: 177.2 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.724/1.724, allocations: 377.9 MB / 0.6221 GB, free: 8.629 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.265e-06/2.265e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.857e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001523/0.001541, allocations: 0.5988 MB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.002506, allocations: 0.812 MB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.002536, allocations: 0 / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.002563, allocations: 0 / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.00262, allocations: 0 / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.201e-05/0.002672, allocations: 4 kB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.002744, allocations: 23.91 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.002793, allocations: 4 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.274e-05/0.002875, allocations: 11.92 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.002912, allocations: 8 kB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.002937, allocations: 0 / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.002943, allocations: 7.938 kB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.002963, allocations: 7.984 kB / 0.9825 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.002987, allocations: 4 kB / 0.9825 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.324e-05/0.00306, allocations: 15.97 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003062, allocations: 0 / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003063, allocations: 0 / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.003067, allocations: 0 / 0.9825 GB, free: 1.023 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.000373/0.00344, allocations: 254.4 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.003485, allocations: 12.03 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.00352, allocations: 30.75 kB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.003542, allocations: 8.906 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.003631, allocations: 113.8 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.003642, allocations: 384 / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.003649, allocations: 384 / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.003788, allocations: 38.25 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.003796, allocations: 192 / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003804, allocations: 4.375 kB / 0.9829 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.00381, allocations: 4.125 kB / 0.9829 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.003927, allocations: 35.89 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.004066, allocations: 124.8 kB / 0.9831 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.004158, allocations: 34.48 kB / 0.9831 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.004218, allocations: 20.91 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.00423, allocations: 0 / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.004253, allocations: 34.56 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.502e-06/0.004255, allocations: 0 / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002682/0.004523, allocations: 77.58 kB / 0.9832 GB, free: 108 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.00456, allocations: 59.34 kB / 0.9833 GB, free: 36 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.004636, allocations: 97.86 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.004648, allocations: 29.64 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.004677, allocations: 80.14 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.004703, allocations: 11.89 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.004734, allocations: 17.7 kB / 0.9835 GB, free: 15.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.004824, allocations: 310.8 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.004891, allocations: 11.98 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.004941, allocations: 24.11 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.005054, allocations: 40.81 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005056, allocations: 3.938 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001448/0.005201, allocations: 53.67 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.005216, allocations: 6.969 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.00522, allocations: 4.094 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.005232, allocations: 0 / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.005305, allocations: 11.92 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005309, allocations: 0 / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.005346, allocations: 11.98 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.005352, 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 6.096e-05/0.005413, allocations: 109.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-06/0.00542, allocations: 0 / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.005439, allocations: 3.156 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.005441, allocations: 4 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005447, allocations: 7.938 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.005449, allocations: 0 / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.00553, allocations: 124.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005531, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.005575, allocations: 7.984 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005577, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.005583, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005585, allocations: 7.875 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.005587, allocations: 3.938 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.005747, allocations: 89.09 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.005754, allocations: 192 / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.005765, allocations: 0 / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.005796, allocations: 4 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.005832, allocations: 11.91 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.005836, allocations: 4 kB / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.445e-05/0.005871, allocations: 79.28 kB / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.005871, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001866/0.006057, allocations: 4 kB / 0.9844 GB, free: 14.77 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.0006649/0.006722, allocations: 0.6202 MB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.00688, allocations: 35.95 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006882, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.006937, allocations: 19.92 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.00714, allocations: 14.67 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.0003588/0.007499, allocations: 126.4 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.007543, allocations: 63.33 kB / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.007565, allocations: 0 / 0.9853 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.007602, allocations: 12.5 kB / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.31e-07/0.007603, allocations: 0 / 0.9853 GB, free: 13.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.02418, allocations: 1.887 MB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.746, allocations: 5.844 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/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.739037890918553]