Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001121/0.001121, 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.001464/0.001464, allocations: 170.3 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.9093/0.9093, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.756/1.756, allocations: 377.9 MB / 0.6221 GB, free: 8.637 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.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.592e-05, allocations: 8.953 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001452/0.001478, allocations: 0.7601 MB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008725/0.00235, allocations: 0.8821 MB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.002396, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002427, allocations: 7.922 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.002506, allocations: 11.88 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.002687, allocations: 47.88 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.002783, allocations: 83.75 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.002893, allocations: 23.92 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.002988, allocations: 51.89 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.003051, allocations: 31.95 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.00308, allocations: 8 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.003092, allocations: 8 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.003115, allocations: 27.91 kB / 0.9829 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.003146, allocations: 23.92 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.003279, allocations: 95.69 kB / 0.983 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.003283, allocations: 3.938 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.773e-06/0.003285, allocations: 0 / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003289, allocations: 0 / 0.983 GB, free: 0.5156 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004665/0.003755, allocations: 318 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.003798, allocations: 12.03 kB / 0.9833 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.003832, allocations: 34.75 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.00386, allocations: 12.89 kB / 0.9833 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.003973, allocations: 121.7 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.003989, allocations: 4.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.004003, allocations: 4.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.004215, allocations: 109.9 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.004222, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.004234, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004239, allocations: 11.88 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.004444, allocations: 103.9 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.004844, allocations: 295.8 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.005222, allocations: 114.5 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.005327, allocations: 52.81 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.005349, allocations: 4 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.005368, allocations: 34.56 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005369, allocations: 0 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.000399/0.005768, allocations: 189.4 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.005799, allocations: 55.34 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.005872, allocations: 125.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005884, allocations: 25.7 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.005931, allocations: 104 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.00595, allocations: 15.86 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.005987, allocations: 25.7 kB / 0.9847 GB, free: 14.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.006064, allocations: 322.8 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.006177, allocations: 43.95 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.00627, allocations: 47.95 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.006458, allocations: 101.2 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00646, allocations: 0 / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002328/0.006693, allocations: 137.5 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.006706, allocations: 12 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006712, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.006726, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.006812, allocations: 23.97 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.006817, allocations: 0 / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.006872, allocations: 15.97 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.006881, allocations: 7.938 kB / 0.9854 GB, free: 13.89 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.182e-05/0.006953, allocations: 117.8 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.006972, allocations: 11.94 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.007256, allocations: 161.9 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.007259, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.007264, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007267, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.007402, allocations: 160.6 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007404, allocations: 0 / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.007475, allocations: 27.97 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007477, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.007486, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.00749, allocations: 7.984 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.007491, allocations: 0 / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.007745, allocations: 239.3 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.007758, allocations: 11.94 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007771, allocations: 4 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.007839, allocations: 15.98 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.007901, allocations: 19.97 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.007908, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.007948, allocations: 95.27 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007948, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001717/0.00812, allocations: 15.94 kB / 0.9862 GB, free: 12.94 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004662/0.008586, allocations: 0.7671 MB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.008836, allocations: 107.8 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008838, allocations: 0 / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.008946, allocations: 67.92 kB / 0.9871 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.009222, allocations: 10.97 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.01058, allocations: 1.546 MB / 0.9887 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.01063, allocations: 75.33 kB / 0.9887 GB, free: 10.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.829e-05/0.01068, allocations: 15.75 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.01075, allocations: 32.47 kB / 0.9888 GB, free: 10.19 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.01075, allocations: 3.938 kB / 0.9888 GB, free: 10.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.03155, allocations: 3.487 MB / 0.9922 GB, free: 6.855 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.718, allocations: 10.17 kB / 0.9922 GB, free: 6.852 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_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_Validation_Min.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.877223250456154]